Gyoto
Classes | Namespaces | Typedefs | Functions | Variables
GyotoSpectrum.h File Reference

Spectrum of a simple object (e.g. Star) More...

#include "GyotoRegister.h"
#include "GyotoObject.h"
#include <GyotoSmartPointer.h>
#include <string>

Go to the source code of this file.

Classes

class  Gyoto::Spectrum::Generic
 Spectrum emitted by an Astrobj. More...
 

Namespaces

 Gyoto
 Namespace for the Gyoto library.
 
 Gyoto::Register
 Gyoto registers.
 
 Gyoto::Spectrum
 Spectrum of a simple object (e.g. a Gyoto::Astrobj::Star)
 

Typedefs

typedef Gyoto::SmartPointer< Gyoto::Spectrum::GenericGyoto::Spectrum::Subcontractor_t(Gyoto::FactoryMessenger *fmp, std::vector< std::string > const &)
 A function to build instances of a specific Spectrum::Generic sub-class. More...
 

Functions

template<typename T >
SmartPointer< Spectrum::Generic > Gyoto::Spectrum::Subcontractor (FactoryMessenger *fmp, std::vector< std::string > const &plugins)
 Subcontractor template. More...
 
void Gyoto::Spectrum::Register (std::string kind, Gyoto::Spectrum::Subcontractor_t *scp)
 Make a Spectrum kind known to the Factory. More...
 
Gyoto::Spectrum::Subcontractor_tGyoto::Spectrum::getSubcontractor (std::string name, std::vector< std::string > &plugins, int errmode=0)
 Query the Spectrum register. More...
 
void Gyoto::Spectrum::initRegister ()
 Empty the Spectrum register. More...
 

Variables

Register::Entry * Gyoto::Spectrum::Register_
 The Spectrum register. More...
 

Detailed Description

Spectrum of a simple object (e.g. Star)

Light emitted by an astronomical object