SCTDAL::Row Class Reference

SCT Barrel row. More...

#include <Row.h>


Public Member Functions

 Row (::Configuration &conf,::ConfigObject &obj)
virtual ~Row ()
bool destroy (::Configuration &conf)
 Destroy object of the Row class.
virtual void init (bool init_children)
virtual void print (unsigned int, bool, std::ostream &) const
unsigned short get_id () const
 Get "id" attribute value.
unsigned short id () const
bool set_id (unsigned short value)
 Set "id" attribute value.
const std::vector< const SCTDAL::GeographyMUR * > & get_murs () const
 Get "murs" relationship value.
const std::vector< const SCTDAL::GeographyMUR * > & murs () const
bool set_murs (const std::vector< const SCTDAL::GeographyMUR * > &value)
 Set "murs" relationship value.

Static Public Member Functions

static Rowcreate (::Configuration &conf, const std::string &id="")
 Create new object of the Row class.

Static Public Attributes

static const std::string s_class_name

Private Member Functions

void check_init () const

Static Private Member Functions

static void update (::Configuration &conf, const ::ConfigurationChange *change)
static void reset (::Configuration &conf, bool re_initialise_obj)

Private Attributes

unsigned short m_id
std::vector< const SCTDAL::GeographyMUR * > m_murs

Friends

class ::Configuration


Detailed Description

SCT Barrel row.

Definition at line 26 of file Row.h.


Member Function Documentation

static Row* SCTDAL::Row::create ::Configuration &  conf,
const std::string &  id = ""
[static]
 

Create new object of the Row class.

Parameters:
conf configuration object
id optional identity for new object
Returns:
non-null pointer on new object in case of success or null pointer if failed

bool SCTDAL::Row::destroy ::Configuration &  conf  ) 
 

Destroy object of the Row class.

Returns:
true in case of success or false if failed

unsigned short SCTDAL::Row::get_id  )  const [inline]
 

Get "id" attribute value.

Definition at line 82 of file Row.h.

References check_init(), and m_id.

Here is the call graph for this function:

const std::vector<const SCTDAL::GeographyMUR*>& SCTDAL::Row::get_murs  )  const [inline]
 

Get "murs" relationship value.

Definition at line 95 of file Row.h.

References check_init(), and m_murs.

Here is the call graph for this function:

bool SCTDAL::Row::set_id unsigned short  value  )  [inline]
 

Set "id" attribute value.

Definition at line 89 of file Row.h.

bool SCTDAL::Row::set_murs const std::vector< const SCTDAL::GeographyMUR * > &  value  ) 
 

Set "murs" relationship value.

Definition at line 115 of file Row.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:06:50 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6