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
#define size_t
If not defined in <sys/types.h>.
Definition: GyotoConfig.h:390
#define GYOTO_OBJECT_THREAD_SAFETY
Declare virtual bool isThreadSafe() const.
Definition: GyotoObject.h:99
Spectroscopic capabilities of a Screen.
I might listen to a Teller.
Definition: GyotoHooks.h:64
Pointers performing reference counting.
Definition: GyotoSmartPointer.h:135
Complex spectrometer object.
Definition: GyotoComplexSpectrometer.h:69
virtual void setParameters(FactoryMessenger *fmp)
Main loop in the (templated) subcontractor.
virtual void fillElement(FactoryMessenger *fmp) const
Fill in the XML entity.
Gyoto::SmartPointer< Gyoto::Spectrometer::Generic > * elements_
Actual array of SmartPointer<Spectrometer::Generic> objects.
Definition: GyotoComplexSpectrometer.h:86
void append(Gyoto::SmartPointer< Gyoto::Spectrometer::Generic > element)
Add element at the end of the array.
void remove(size_t i)
Remove i-th element from the array.
size_t cardinal_
Number of subspectrometers.
Definition: GyotoComplexSpectrometer.h:81
virtual Complex * clone() const
Clone an instance.
virtual void tell(Gyoto::Hook::Teller *msg)
This is how a Teller tells.
static kind_t const Kind
"Complex"
Definition: GyotoComplexSpectrometer.h:184
size_t getCardinal() const
Get the number of elements in the array.
Base class for spectrometers.
Definition: GyotoSpectrometer.h:186
char const * kind_t
Type for Spectrometer kind.
Definition: GyotoSpectrometer.h:85
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43