SCTDAL::Rod Class Reference

SCT rod unit. More...

#include <Rod.h>


Public Member Functions

 Rod (::Configuration &conf,::ConfigObject &obj)
virtual ~Rod ()
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.
unsigned short id () const
bool set_id (unsigned short value)
 Set "id" attribute value.
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

static Rodcreate (::Configuration &conf, const std::string &id="")
 Create new object of the Rod 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
unsigned short m_slot
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

static 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

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

Get "id" attribute value.

rod ID

Definition at line 88 of file Rod.h.

References check_init(), and m_id.

Here is the call graph for this function:

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

Get "rodMURs" relationship value.

Definition at line 128 of file Rod.h.

References check_init(), and m_rodMURs.

Here is the call graph for this function:

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

Get "slaves" relationship value.

Definition at line 115 of file Rod.h.

References check_init(), and m_slaves.

Here is the call graph for this function:

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

Get "slot" attribute value.

Definition at line 102 of file Rod.h.

References check_init(), and m_slot.

Here is the call graph for this function:

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.

Definition at line 143 of file Rod.cpp.

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 Rod.h.


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