Luiza  v03-01
Public Member Functions | List of all members
gloria::GloriaNetworkMgr Class Reference

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.
 
GloriaTelescopeGetTelescope (std::string name)
 Get telescope configuration by name or alias.
 
GloriaTelescopeGetTelescope (int id)
 Get telescope configuration by telescope ID.
 

Detailed Description

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.

Author
A.F.Zarnecki, University of Warsaw, zarne.nosp@m.cki@.nosp@m.fuw.e.nosp@m.du.p.nosp@m.l

Constructor & Destructor Documentation

gloria::GloriaNetworkMgr::GloriaNetworkMgr ( )

Default constructor.

Default constructor creates empty configuration

gloria::GloriaNetworkMgr::GloriaNetworkMgr ( std::string  fileName)

File constructor.

Creates configuration based on input XML file

References LoadConfigXML().


The documentation for this class was generated from the following files: