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

SCTDAL::PowerCrate Class Reference

Channels in each power crate. More...

#include <PowerCrate.h>


Public Member Functions

 PowerCrate (::Configuration &conf,::ConfigObject &obj)
bool destroy (::Configuration &conf)
 Destroy object of the PowerCrate 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::PowerChannel * > & get_channels () const
 Get "channels" relationship value.

const std::vector< const SCTDAL::PowerChannel * > & channels () const
bool set_channels (const std::vector< const SCTDAL::PowerChannel * > &value)
 Set "channels" relationship value.

const std::vector< const SCTDAL::PowerCard * > & get_cards () const
 Get "cards" relationship value.

const std::vector< const SCTDAL::PowerCard * > & cards () const
bool set_cards (const std::vector< const SCTDAL::PowerCard * > &value)
 Set "cards" relationship value.

 PowerCrate (::Configuration &conf,::ConfigObject &obj)
bool destroy (::Configuration &conf)
 Destroy object of the PowerCrate 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::PowerChannel * > & get_channels () const
 Get "channels" relationship value.

const std::vector< const SCTDAL::PowerChannel * > & channels () const
bool set_channels (const std::vector< const SCTDAL::PowerChannel * > &value)
 Set "channels" relationship value.

const std::vector< const SCTDAL::PowerCard * > & get_cards () const
 Get "cards" relationship value.

const std::vector< const SCTDAL::PowerCard * > & cards () const
bool set_cards (const std::vector< const SCTDAL::PowerCard * > &value)
 Set "cards" relationship value.


Static Public Member Functions

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

PowerCratecreate (::Configuration &conf, const std::string &id="")
 Create new object of the PowerCrate 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::PowerChannel * > m_channels
std::vector< const SCTDAL::PowerCard * > m_cards
std::vector< const SCTDAL::PowerChannel * > m_channels
std::vector< const SCTDAL::PowerCard * > m_cards

Friends

class ::Configuration


Detailed Description

Channels in each power crate.

Definition at line 29 of file PowerCrate.h.


Member Function Documentation

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

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

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

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

Destroy object of the PowerCrate class.

Returns:
true in case of success or false if failed

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

Destroy object of the PowerCrate class.

Returns:
true in case of success or false if failed

const std::vector<const SCTDAL::PowerCard*>& SCTDAL::PowerCrate::get_cards  )  const [inline]
 

Get "cards" relationship value.

Definition at line 112 of file emp/PowerCrate.h.

const std::vector<const SCTDAL::PowerCard*>& SCTDAL::PowerCrate::get_cards  )  const [inline]
 

Get "cards" relationship value.

Definition at line 112 of file PowerCrate.h.

const std::vector<const SCTDAL::PowerChannel*>& SCTDAL::PowerCrate::get_channels  )  const [inline]
 

Get "channels" relationship value.

Definition at line 99 of file emp/PowerCrate.h.

const std::vector<const SCTDAL::PowerChannel*>& SCTDAL::PowerCrate::get_channels  )  const [inline]
 

Get "channels" relationship value.

Definition at line 99 of file PowerCrate.h.

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

Get "id" attribute value.

Definition at line 86 of file emp/PowerCrate.h.

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

Get "id" attribute value.

Definition at line 86 of file PowerCrate.h.

bool SCTDAL::PowerCrate::set_cards const std::vector< const SCTDAL::PowerCard * > &  value  ) 
 

Set "cards" relationship value.

bool SCTDAL::PowerCrate::set_cards const std::vector< const SCTDAL::PowerCard * > &  value  ) 
 

Set "cards" relationship value.

Definition at line 135 of file PowerCrate.cpp.

bool SCTDAL::PowerCrate::set_channels const std::vector< const SCTDAL::PowerChannel * > &  value  ) 
 

Set "channels" relationship value.

bool SCTDAL::PowerCrate::set_channels const std::vector< const SCTDAL::PowerChannel * > &  value  ) 
 

Set "channels" relationship value.

Definition at line 126 of file PowerCrate.cpp.

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

Set "id" attribute value.

Definition at line 93 of file emp/PowerCrate.h.

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

Set "id" attribute value.

Definition at line 93 of file PowerCrate.h.


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