|
GET library
|
#include <GETCfgSetup.hh>
Public Member Functions | |
Constructors, affectation, destructor | |
| GETCfgSetup (GETSystem *p=NULL) | |
| virtual | ~GETCfgSetup () |
GET architecture related functions | |
| virtual string | GetFullId () const |
| GETSystem * | GetParentSystem () const |
| GETCfgCoBo * | GetCoBoConfig (u_int i) const |
XML configuration functions | |
| virtual int | ReadXMLConfig (const string &fname) |
| virtual int | GetXMLConfig (DOMNode *node) |
ROOT related functions | |
| ClassDef (GETCfgSetup, 0) | |
Protected Attributes | |
| GETCfgCoBo ** | cfg_cobo |
| Array of pointers to CoBo configurations. | |
| u_int | cfg_cobo_num |
| Number of CoBo modules configurations. | |
| GETSystem * | parent |
| GET object the configuration is related to. | |
Private Member Functions | |
| GObject (GETCfgSetup) | |
Setup configuration information:
| GETCfgSetup::GETCfgSetup | ( | GETSystem * | p = NULL | ) |
Constructor.
| p | parent GET system |
References cfg_cobo, cfg_cobo_num, GETSystem::GetChild(), GETSystem::GetCoBoNumber(), and parent.
|
virtual |
Destructor. The configuration from children objects are deleted only if they are not connected to a GET object.
References cfg_cobo, cfg_cobo_num, GETSystem::config, and parent.
| GETCfgSetup::ClassDef | ( | GETCfgSetup | , |
| 0 | |||
| ) |
for use within ROOT.
|
inline |
|
virtual |
Return the identifier of the parent GET object, if defined.
References GETObject::GetFullId(), and parent.
|
inline |
|
virtual |
Read the full setup configuration from DOM tree node. The function returns an error value.
| node | configuration DOM tree node |
References cfg_cobo, cfg_cobo_num, and GETCfgCoBo::GetXMLConfig().
Referenced by ReadXMLConfig().
|
private |
Macro from GCpp library that defines the following functions:
|
virtual |
Read the setup configuration file.
| fname | file name |
References GetXMLConfig().
Referenced by GETSystem::ReadXMLConfig().