27 #ifndef GOBSERVATIONREGISTRY_HPP
28 #define GOBSERVATIONREGISTRY_HPP
70 std::string
name(
const int& index)
const;
86 static int m_number = 0;
110 return (
"GObservationRegistry");
virtual ~GObservationRegistry(void)
Destructor.
GObservation * alloc(const std::string &name) const
Allocate observation of given name.
GObservationRegistry & operator=(const GObservationRegistry ®istry)
Assignment operator.
void free_members(void)
Delete class members.
void init_members(void)
Initialise class members.
Interface class for registries.
Smart pointer for registry classes.
int size(void) const
Return number of registered observations.
static GRegistryPointer< const GObservation * > & obs()
Interface definition for the observation registry class.
std::string name(const int &index) const
Returns instrument name for a specific registered observation.
std::string classname(void) const
Return class name.
Abstract observation base class.
Abstract observation base class interface definition.
GObservationRegistry(void)
Void constructor.
void copy_members(const GObservationRegistry ®istry)
Copy class members.
std::string print(const GChatter &chatter=NORMAL) const
Print registry information.
static GRegistryPointer< std::string > & names()
Interface class definition for registries.