SCTDAL::PowerCard Class Reference

Power supply card parameters. More...

#include <PowerCard.h>

Collaboration diagram for SCTDAL::PowerCard:

Collaboration graph
[legend]

Public Member Functions

 PowerCard (::Configuration &conf,::ConfigObject &obj)
virtual ~PowerCard ()
bool destroy (::Configuration &conf)
 Destroy object of the PowerCard 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::string & get_type () const
 Get "type" attribute value.
const std::string & type () const
bool set_type (const std::string &value)
 Set "type" attribute value.
const std::vector< const SCTDAL::PowerParam * > & get_params () const
 Get "params" relationship value.
const std::vector< const SCTDAL::PowerParam * > & params () const
bool set_params (const std::vector< const SCTDAL::PowerParam * > &value)
 Set "params" relationship value.

Static Public Member Functions

static PowerCardcreate (::Configuration &conf, const std::string &id="")
 Create new object of the PowerCard 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
std::string m_type
std::vector< const SCTDAL::PowerParam * > m_params

Friends

class ::Configuration

Detailed Description

Power supply card parameters.

Definition at line 26 of file PowerCard.h.


Member Function Documentation

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

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

Destroy object of the PowerCard class.

Returns:
true in case of success or false if failed

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

Get "id" attribute value.

Definition at line 83 of file PowerCard.h.

References check_init(), and m_id.

Here is the call graph for this function:

const std::vector<const SCTDAL::PowerParam*>& SCTDAL::PowerCard::get_params  )  const [inline]
 

Get "params" relationship value.

Definition at line 109 of file PowerCard.h.

References check_init(), and m_params.

Here is the call graph for this function:

const std::string& SCTDAL::PowerCard::get_type  )  const [inline]
 

Get "type" attribute value.

Definition at line 96 of file PowerCard.h.

References check_init(), and m_type.

Here is the call graph for this function:

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

Set "id" attribute value.

Definition at line 90 of file PowerCard.h.

bool SCTDAL::PowerCard::set_params const std::vector< const SCTDAL::PowerParam * > &  value  ) 
 

Set "params" relationship value.

Definition at line 123 of file PowerCard.cpp.

bool SCTDAL::PowerCard::set_type const std::string &  value  )  [inline]
 

Set "type" attribute value.

Definition at line 103 of file PowerCard.h.


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