27 #ifndef GCOMSTATUS_HPP
28 #define GCOMSTATUS_HPP
61 virtual void clear(
void);
63 virtual std::string
classname(
void)
const;
67 void load(
void)
const;
68 int d1status(
const int& tjd,
const int& module)
const;
69 int d2status(
const int& tjd,
const int& module)
const;
99 return (
"GCOMStatus");
COMPTEL instrument status class.
std::vector< int > m_last_d2status
Last D2 module status.
virtual void clear(void)
Clear COMPTEL instrument status.
void free_members(void)
Delete class members.
void load_status(void) const
Load status information from database.
Definition of interface for all GammaLib classes.
virtual ~GCOMStatus(void)
Destructor.
std::vector< int > m_tjds
TJD for status.
virtual GCOMStatus * clone(void) const
Clone COMPTEL instrument status.
GCOMStatus & operator=(const GCOMStatus &status)
Assignment operator.
void copy_members(const GCOMStatus &status)
Copy class members.
Interface class for all GammaLib classes.
GCOMStatus(void)
Void constructor.
std::vector< std::vector< int > > m_d1status
D1 module status.
int d1status(const int &tjd, const int &module) const
Return D1 module status.
int d2status(const int &tjd, const int &module) const
Return D2 module status.
virtual std::string classname(void) const
Return class name.
std::vector< std::vector< int > > m_d2status
D2 module status.
std::vector< int > m_last_d1status
Last D1 module status.
void init_members(void)
Initialise class members.
void load(void) const
Load COMPTEL instrument status database.
void update_cache(const int &tjd) const
Update module status cache.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print COMPTEL instrument status.