SCTDAL::SctRodCrate Class Reference

DAQ crate containing one tim and several rods. More...

#include <SctRodCrate.h>

Collaboration diagram for SCTDAL::SctRodCrate:

Collaboration graph
[legend]

Public Member Functions

 SctRodCrate (::Configuration &conf,::ConfigObject &obj)
virtual ~SctRodCrate ()
bool destroy (::Configuration &conf)
 Destroy object of the SctRodCrate 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 SCTDAL::Timget_tim () const
 Get "tim" relationship value.
const SCTDAL::Timtim () const
bool set_tim (const SCTDAL::Tim *value)
 Set "tim" relationship value.
const std::vector< const SCTDAL::Rod * > & get_rods () const
 Get "rods" relationship value.
const std::vector< const SCTDAL::Rod * > & rods () const
bool set_rods (const std::vector< const SCTDAL::Rod * > &value)
 Set "rods" relationship value.

Static Public Member Functions

static SctRodCratecreate (::Configuration &conf, const std::string &id="")
 Create new object of the SctRodCrate 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
const SCTDAL::Timm_tim
std::vector< const SCTDAL::Rod * > m_rods

Friends

class ::Configuration

Detailed Description

DAQ crate containing one tim and several rods.

Definition at line 29 of file SctRodCrate.h.


Member Function Documentation

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

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

Destroy object of the SctRodCrate class.

Returns:
true in case of success or false if failed

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

Get "id" attribute value.

crate ID

Definition at line 87 of file SctRodCrate.h.

References check_init(), and m_id.

Here is the call graph for this function:

const std::vector<const SCTDAL::Rod*>& SCTDAL::SctRodCrate::get_rods  )  const [inline]
 

Get "rods" relationship value.

Definition at line 114 of file SctRodCrate.h.

References check_init(), and m_rods.

Here is the call graph for this function:

const SCTDAL::Tim* SCTDAL::SctRodCrate::get_tim  )  const [inline]
 

Get "tim" relationship value.

Definition at line 101 of file SctRodCrate.h.

References check_init(), and m_tim.

Here is the call graph for this function:

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

Set "id" attribute value.

crate ID

Definition at line 95 of file SctRodCrate.h.

bool SCTDAL::SctRodCrate::set_rods const std::vector< const SCTDAL::Rod * > &  value  ) 
 

Set "rods" relationship value.

Definition at line 125 of file SctRodCrate.cpp.

bool SCTDAL::SctRodCrate::set_tim const SCTDAL::Tim value  ) 
 

Set "tim" relationship value.

Definition at line 120 of file SctRodCrate.cpp.


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