Luiza
v03-01
|
Class for storing GLORIA network configuration. More...
#include <GloriaNetworkMgr.h>
Public Member Functions | |
GloriaNetworkMgr () | |
Default constructor. More... | |
GloriaNetworkMgr (std::string fileName) | |
File constructor. More... | |
~GloriaNetworkMgr () | |
Destructor. | |
void | LoadConfigXML (std::string fileName) |
Load network configuration from file. | |
long | GetID () |
Get configuration ID. | |
long | GetDate () |
Get configuration date. | |
std::string | GetAuthor () |
Get configuration author. | |
int | GetTelescopeNumber () |
Number of telescopes defined in the configuration. | |
bool | IsTelescopeDefined (std::string name) |
Check if telescope configuration is defined. | |
bool | IsTelescopeDefined (int id) |
Check if telescope configuration is defined. | |
GloriaTelescope * | GetTelescope (std::string name) |
Get telescope configuration by name or alias. | |
GloriaTelescope * | GetTelescope (int id) |
Get telescope configuration by telescope ID. | |
Class for storing GLORIA network configuration.
This class allows to store configuration of the GLORIA network, both the observatories as well as databases and other network resources. Configuration is read from XML file. This should reduce number of parameters which has to be passed to the processors via the steering file.
Current version implements only telescope parameters.
gloria::GloriaNetworkMgr::GloriaNetworkMgr | ( | ) |
Default constructor.
Default constructor creates empty configuration
gloria::GloriaNetworkMgr::GloriaNetworkMgr | ( | std::string | fileName | ) |