GET library
GETCfgCoBo Class Reference

#include <GETCfgCoBo.hh>

Public Member Functions

Constructors, affectation, destructor
 GETCfgCoBo (GETCoBo *p=NULL)
 
virtual ~GETCfgCoBo ()
 
GET architecture related functions
virtual string GetFullId () const
 
GETCoBoGetParentCoBo () const
 
GETCfgAsAdGetAsAdConfig (u_int i) const
 
XML configuration functions
int GetXMLConfig (DOMNode *node)
 
ROOT related functions
 ClassDef (GETCfgCoBo, 0)
 

Protected Attributes

GETCfgAsAd ** cfg_asad
 Array of pointers to AsAd configurations.
 
u_int cfg_asad_num
 Number of AsAd boards configurations.
 
GETCoBoparent
 GET object the configuration is related to.
 

Private Member Functions

 GObject (GETCfgCoBo)
 

Detailed Description

Setup configuration information:

  • for Reduced CoBo system
  • for full GET system (not yet ready)

Constructor & Destructor Documentation

GETCfgCoBo::GETCfgCoBo ( GETCoBo p = NULL)

Constructor.

Parameters
pparent CoBo

References cfg_asad, cfg_asad_num, GETCoBo::GetAsAdNumber(), GETCoBo::GetChild(), and parent.

GETCfgCoBo::~GETCfgCoBo ( )
virtual

Destructor. The configuration from children objects are deleted only if they are not connected to a GET object.

References cfg_asad, cfg_asad_num, GETCoBo::config, and parent.

Member Function Documentation

GETCfgCoBo::ClassDef ( GETCfgCoBo  ,
 
)

for use within ROOT.

GETCfgAsAd * GETCfgCoBo::GetAsAdConfig ( u_int  i) const
inline

Return the configuration of a GET children object. The range of the child number is not checked.

Parameters
ichild number

References cfg_asad.

string GETCfgCoBo::GetFullId ( ) const
virtual

Return the identifier of the parent GET object, if defined.

References GETObject::GetFullId(), and parent.

Referenced by GetXMLConfig().

GETCoBo * GETCfgCoBo::GetParentCoBo ( ) const
inline

Return the CoBo module the configuration is related to.

References parent.

int GETCfgCoBo::GetXMLConfig ( DOMNode *  node)

Read the CoBo module configuration from DOM tree node. The function returns an error value.

Parameters
nodeconfiguration DOM tree node

References cfg_asad, cfg_asad_num, GetFullId(), and GETCfgAsAd::GetXMLConfig().

Referenced by GETCfgSetup::GetXMLConfig().

GETCfgCoBo::GObject ( GETCfgCoBo  )
private

Macro from GCpp library that defines the following functions:

  • ClassName(): return the real class name of the object
  • StaticClassName(): return the used class name of the object (that may be a base class of the real object).
  • IsInstanceOf<T>(): return true if the current object is an instance of the template class name argument
  • Clone(): return an allocated copy of the object.

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