GET library
GETCfgCoBo.hh
Go to the documentation of this file.
1 //======================================================================
2 /*! \file GETCfgCoBo.hh
3  *
4  * Include file for the GETCfgCoBo class.
5  */
6 //======================================================================
7 
8 #ifndef GET_CFG_COBO_HH
9 #define GET_CFG_COBO_HH
10 
11 //----------------------------------------------------------------------
12 #include "GETCommon.hh"
13 #include "GETCfgTools.hh"
14 #include "GETCfgAsAd.hh"
15 
16 class GETCoBo;
17 
18 //======================================================================
19 /*! \class GETCfgCoBo
20  *
21  * Setup configuration information:
22  * - for Reduced CoBo system
23  * - for full GET system (not yet ready)
24  *
25  */
27 {
28  //------------------------------------------------------------
29  /*! \object_doc */
31  //------------------------------------------------------------
32 
33  protected:
34  GETCoBo * parent; ///< GET object the configuration is related to
35  GETCfgAsAd ** cfg_asad; ///< Array of pointers to AsAd configurations
36  u_int cfg_asad_num; ///< Number of AsAd boards configurations
37 
38  public:
39  //----------------------------------------------------------
40  /** @name Constructors, affectation, destructor */
41  //@{
42  GETCfgCoBo ( GETCoBo * p = NULL );
43  virtual ~GETCfgCoBo ( );
44  //@}
45 
46  //----------------------------------------------------------
47  /** @name GET architecture related functions */
48  //@{
49  virtual string GetFullId ( ) const;
50 
51  GETCoBo * GetParentCoBo ( ) const; // inline
52  GETCfgAsAd * GetAsAdConfig ( u_int i ) const; // inline
53  //@}
54 
55  //----------------------------------------------------------
56  /** @name XML configuration functions */
57  //@{
58  int GetXMLConfig ( DOMNode * node );
59  //@}
60 
61  //----------------------------------------------------------
62  /** @name ROOT related functions */
63  //@{
64  public:
65 
66  /*! for use within ROOT.*/
68  //@}
69 };
70 
71 
72 //----------------------------------------------------------------------
73 // Inline functions
74 #include "icc/GETCfgCoBo.icc"
75 
76 
77 //======================================================================
78 #endif
GObject(GETCfgCoBo)
GETCfgCoBo(GETCoBo *p=NULL)
Definition: GETCfgCoBo.cpp:18
GETCfgAsAd ** cfg_asad
Array of pointers to AsAd configurations.
Definition: GETCfgCoBo.hh:35
virtual ~GETCfgCoBo()
Definition: GETCfgCoBo.cpp:53
GETCfgAsAd * GetAsAdConfig(u_int i) const
Definition: GETCfgCoBo.icc:20
Definition: GETCfgAsAd.hh:27
ClassDef(GETCfgCoBo, 0)
GETCoBo * parent
GET object the configuration is related to.
Definition: GETCfgCoBo.hh:34
Definition: GETCfgCoBo.hh:26
virtual string GetFullId() const
Definition: GETCfgCoBo.cpp:78
int GetXMLConfig(DOMNode *node)
Definition: GETCfgCoBo.cpp:90
Definition: GETCoBo.hh:27
GETCoBo * GetParentCoBo() const
Definition: GETCfgCoBo.icc:13
u_int cfg_asad_num
Number of AsAd boards configurations.
Definition: GETCfgCoBo.hh:36