SCTDAL::Barrel Class Reference

SCT barrel containing rows. More...

#include <Barrel.h>


Public Member Functions

 Barrel (::Configuration &conf,::ConfigObject &obj)
virtual ~Barrel ()
bool destroy (::Configuration &conf)
 Destroy object of the Barrel 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::Row * > & get_rows () const
 Get "rows" relationship value.
const std::vector< const SCTDAL::Row * > & rows () const
bool set_rows (const std::vector< const SCTDAL::Row * > &value)
 Set "rows" relationship value.

Static Public Member Functions

static Barrelcreate (::Configuration &conf, const std::string &id="")
 Create new object of the Barrel 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::Row * > m_rows

Friends

class ::Configuration


Detailed Description

SCT barrel containing rows.

Definition at line 26 of file Barrel.h.


Member Function Documentation

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

Create new object of the Barrel 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::Barrel::destroy ::Configuration &  conf  ) 
 

Destroy object of the Barrel class.

Returns:
true in case of success or false if failed

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

Get "id" attribute value.

Definition at line 82 of file Barrel.h.

References check_init(), and m_id.

Here is the call graph for this function:

const std::vector<const SCTDAL::Row*>& SCTDAL::Barrel::get_rows  )  const [inline]
 

Get "rows" relationship value.

Definition at line 95 of file Barrel.h.

References check_init(), and m_rows.

Here is the call graph for this function:

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

Set "id" attribute value.

Definition at line 89 of file Barrel.h.

bool SCTDAL::Barrel::set_rows const std::vector< const SCTDAL::Row * > &  value  ) 
 

Set "rows" relationship value.

Definition at line 115 of file Barrel.cpp.


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