Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

SCTDAL::Barrel Class Reference

SCT barrel containing rows. More...

#include <Barrel.h>


Public Member Functions

 Barrel (::Configuration &conf,::ConfigObject &obj)
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.

 Barrel (::Configuration &conf,::ConfigObject &obj)
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

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

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


Static Public Attributes

const std::string s_class_name

Private Member Functions

void check_init () const
void check_init () const

Static Private Member Functions

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

Private Attributes

unsigned short m_id
std::vector< const SCTDAL::Row * > m_rows
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

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

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

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 emp/Barrel.h.

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

Get "id" attribute value.

Definition at line 82 of file Barrel.h.

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

Get "rows" relationship value.

Definition at line 95 of file emp/Barrel.h.

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

Get "rows" relationship value.

Definition at line 95 of file Barrel.h.

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

Set "id" attribute value.

Definition at line 89 of file emp/Barrel.h.

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.

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 Thu Dec 15 21:18:28 2005 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5