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

SCTDAL::PowerCard Class Reference

Power supply card parameters. More...

#include <PowerCard.h>


Public Member Functions

 PowerCard (::Configuration &conf,::ConfigObject &obj)
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.

 PowerCard (::Configuration &conf,::ConfigObject &obj)
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

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

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

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

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

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 emp/PowerCard.h.

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

Get "id" attribute value.

Definition at line 83 of file PowerCard.h.

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

Get "params" relationship value.

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

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

Get "params" relationship value.

Definition at line 109 of file PowerCard.h.

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

Get "type" attribute value.

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

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

Get "type" attribute value.

Definition at line 96 of file PowerCard.h.

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

Set "id" attribute value.

Definition at line 90 of file emp/PowerCard.h.

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.

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 emp/PowerCard.h.

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 Fri Dec 16 19:42:16 2005 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5