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

SCTDAL::Rod Class Reference

SCT rod unit. More...

#include <Rod.h>


Public Member Functions

 Rod (::Configuration &conf,::ConfigObject &obj)
bool destroy (::Configuration &conf)
 Destroy object of the Rod 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. rod ID.

unsigned short id () const
bool set_id (unsigned short value)
 Set "id" attribute value. rod ID.

unsigned short get_slot () const
 Get "slot" attribute value.

unsigned short slot () const
bool set_slot (unsigned short value)
 Set "slot" attribute value.

const std::vector< const SCTDAL::Slave * > & get_slaves () const
 Get "slaves" relationship value.

const std::vector< const SCTDAL::Slave * > & slaves () const
bool set_slaves (const std::vector< const SCTDAL::Slave * > &value)
 Set "slaves" relationship value.

const std::vector< const SCTDAL::RodMUR * > & get_rodMURs () const
 Get "rodMURs" relationship value.

const std::vector< const SCTDAL::RodMUR * > & rodMURs () const
bool set_rodMURs (const std::vector< const SCTDAL::RodMUR * > &value)
 Set "rodMURs" relationship value.

 Rod (::Configuration &conf,::ConfigObject &obj)
bool destroy (::Configuration &conf)
 Destroy object of the Rod 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. rod ID.

unsigned short id () const
bool set_id (unsigned short value)
 Set "id" attribute value. rod ID.

unsigned short get_slot () const
 Get "slot" attribute value.

unsigned short slot () const
bool set_slot (unsigned short value)
 Set "slot" attribute value.

const std::vector< const SCTDAL::Slave * > & get_slaves () const
 Get "slaves" relationship value.

const std::vector< const SCTDAL::Slave * > & slaves () const
bool set_slaves (const std::vector< const SCTDAL::Slave * > &value)
 Set "slaves" relationship value.

const std::vector< const SCTDAL::RodMUR * > & get_rodMURs () const
 Get "rodMURs" relationship value.

const std::vector< const SCTDAL::RodMUR * > & rodMURs () const
bool set_rodMURs (const std::vector< const SCTDAL::RodMUR * > &value)
 Set "rodMURs" relationship value.


Static Public Member Functions

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

Rodcreate (::Configuration &conf, const std::string &id="")
 Create new object of the Rod 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
unsigned short m_slot
std::vector< const SCTDAL::Slave * > m_slaves
std::vector< const SCTDAL::RodMUR * > m_rodMURs
std::vector< const SCTDAL::Slave * > m_slaves
std::vector< const SCTDAL::RodMUR * > m_rodMURs

Friends

class ::Configuration


Detailed Description

SCT rod unit.

Definition at line 29 of file Rod.h.


Member Function Documentation

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

Create new object of the Rod 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

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

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

Destroy object of the Rod class.

Returns:
true in case of success or false if failed

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

Destroy object of the Rod class.

Returns:
true in case of success or false if failed

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

Get "id" attribute value. rod ID.

Definition at line 88 of file emp/Rod.h.

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

Get "id" attribute value. rod ID.

Definition at line 88 of file Rod.h.

const std::vector<const SCTDAL::RodMUR*>& SCTDAL::Rod::get_rodMURs  )  const [inline]
 

Get "rodMURs" relationship value.

Definition at line 128 of file emp/Rod.h.

const std::vector<const SCTDAL::RodMUR*>& SCTDAL::Rod::get_rodMURs  )  const [inline]
 

Get "rodMURs" relationship value.

Definition at line 128 of file Rod.h.

const std::vector<const SCTDAL::Slave*>& SCTDAL::Rod::get_slaves  )  const [inline]
 

Get "slaves" relationship value.

Definition at line 115 of file emp/Rod.h.

const std::vector<const SCTDAL::Slave*>& SCTDAL::Rod::get_slaves  )  const [inline]
 

Get "slaves" relationship value.

Definition at line 115 of file Rod.h.

unsigned short SCTDAL::Rod::get_slot  )  const [inline]
 

Get "slot" attribute value.

Definition at line 102 of file emp/Rod.h.

unsigned short SCTDAL::Rod::get_slot  )  const [inline]
 

Get "slot" attribute value.

Definition at line 102 of file Rod.h.

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

Set "id" attribute value. rod ID.

Definition at line 96 of file emp/Rod.h.

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

Set "id" attribute value. rod ID.

Definition at line 96 of file Rod.h.

bool SCTDAL::Rod::set_rodMURs const std::vector< const SCTDAL::RodMUR * > &  value  ) 
 

Set "rodMURs" relationship value.

bool SCTDAL::Rod::set_rodMURs const std::vector< const SCTDAL::RodMUR * > &  value  ) 
 

Set "rodMURs" relationship value.

Definition at line 143 of file Rod.cpp.

bool SCTDAL::Rod::set_slaves const std::vector< const SCTDAL::Slave * > &  value  ) 
 

Set "slaves" relationship value.

bool SCTDAL::Rod::set_slaves const std::vector< const SCTDAL::Slave * > &  value  ) 
 

Set "slaves" relationship value.

Definition at line 134 of file Rod.cpp.

bool SCTDAL::Rod::set_slot unsigned short  value  )  [inline]
 

Set "slot" attribute value.

Definition at line 109 of file emp/Rod.h.

bool SCTDAL::Rod::set_slot unsigned short  value  )  [inline]
 

Set "slot" attribute value.

Definition at line 109 of file Rod.h.


The documentation for this class was generated from the following files:
Generated on Fri Dec 16 19:42:16 2005 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5