28 #ifndef __GyotoComplexSpectrometer_H_ 29 #define __GyotoComplexSpectrometer_H_ 34 namespace Spectrometer {
126 void
append(Gyoto::SmartPointer<Gyoto::Spectrometer::Generic> element);
133 virtual void
tell(Gyoto::Hook::Teller *msg);
136 #ifdef GYOTO_USE_XERCES 142 virtual void
fillElement(FactoryMessenger *fmp) const ;
size_t getCardinal() const
Get the number of elements in the array.
Complex spectrometer object.
Definition: GyotoComplexSpectrometer.h:66
virtual void tell(Gyoto::Hook::Teller *msg)
This is how a Teller tells.
#define GYOTO_OBJECT_THREAD_SAFETY
Declare virtual bool isThreadSafe() const.
Definition: GyotoObject.h:99
#define size_t
If not defined in <sys/types.h>.
Definition: GyotoConfig.h:387
Gyoto::SmartPointer< Gyoto::Spectrometer::Generic > * elements_
Actual array of SmartPointer<Spectrometer::Generic> objects.
Definition: GyotoComplexSpectrometer.h:86
char const * kind_t
Type for Spectrometer kind.
Definition: GyotoSpectrometer.h:71
void remove(size_t i)
Remove i-th element from the array.
Spectroscopic capabilities of a Screen.
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
Pointers performing reference counting.
Definition: GyotoProperty.h:45
size_t cardinal_
Number of subspectrometers.
Definition: GyotoComplexSpectrometer.h:81
I might listen to a Teller.
Definition: GyotoHooks.h:64
virtual void setParameters(FactoryMessenger *fmp)
Main loop in the (templated) subcontractor.
virtual Complex * clone() const
Clone an instance.
virtual void fillElement(FactoryMessenger *fmp) const
Fill in the XML entity.
static kind_t const Kind
"Complex"
Definition: GyotoComplexSpectrometer.h:184
void append(Gyoto::SmartPointer< Gyoto::Spectrometer::Generic > element)
Add element at the end of the array.
Base class for spectrometers.
Definition: GyotoSpectrometer.h:182