27 #ifndef GMWLOBSERVATION_HPP
28 #define GMWLOBSERVATION_HPP
64 virtual void clear(
void);
66 virtual std::string
classname(
void)
const;
70 virtual double ontime(
void)
const;
103 return (
"GMWLObservation");
const GFilename & filename(void) const
Return filename.
Multi-wavelength response class.
virtual GMWLObservation * clone(void) const
Clone instance.
std::string m_instrument
Instrument name.
virtual double deadc(const GTime &time=GTime()) const
Return deadtime correction factor.
virtual ~GMWLObservation(void)
Destructor.
Multi-wavelength response class interface definition.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print multi-wavelength information.
void copy_members(const GMWLObservation &obs)
Copy class members.
Interface class for multi-wavelength observations.
virtual std::string classname(void) const
Return class name.
Abstract observation base class.
GMWLResponse m_response
Response function.
virtual void read(const GXmlElement &xml)
Read observation from XML element.
Abstract observation base class interface definition.
virtual double livetime(void) const
Return livetime.
GFilename m_filename
Filename.
virtual GMWLObservation & operator=(const GMWLObservation &obs)
Assignment operator.
virtual double ontime(void) const
Return ontime.
virtual std::string instrument(void) const
Return instrument name.
void init_members(void)
Initialise class members.
virtual const GMWLResponse * response(void) const
Return response.
virtual void write(GXmlElement &xml) const
Write observation into XML element.
virtual void clear(void)
Clear instance.
Abstract instrument response base class.
GMWLObservation(void)
Void constructor.
void load(const GFilename &filename)
Load observation.
Time class interface definition.
Filename class interface definition.
void free_members(void)
Delete class members.