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

SCTDAL::PowerChannel Class Reference

Channel specialization for power settings. More...

#include <PowerChannel.h>


Public Member Functions

 PowerChannel (::Configuration &conf,::ConfigObject &obj)
bool destroy (::Configuration &conf)
 Destroy object of the PowerChannel 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_MUR () const
 Get "MUR" attribute value.

unsigned short MUR () const
bool set_MUR (unsigned short value)
 Set "MUR" attribute value.

unsigned short get_module () const
 Get "module" attribute value.

unsigned short module () const
bool set_module (unsigned short value)
 Set "module" 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.

 PowerChannel (::Configuration &conf,::ConfigObject &obj)
bool destroy (::Configuration &conf)
 Destroy object of the PowerChannel 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_MUR () const
 Get "MUR" attribute value.

unsigned short MUR () const
bool set_MUR (unsigned short value)
 Set "MUR" attribute value.

unsigned short get_module () const
 Get "module" attribute value.

unsigned short module () const
bool set_module (unsigned short value)
 Set "module" 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

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

PowerChannelcreate (::Configuration &conf, const std::string &id="")
 Create new object of the PowerChannel 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
unsigned short m_MUR
unsigned short m_module
std::vector< const SCTDAL::PowerParam * > m_params
std::vector< const SCTDAL::PowerParam * > m_params

Friends

class ::Configuration


Detailed Description

Channel specialization for power settings.

Definition at line 26 of file PowerChannel.h.


Member Function Documentation

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

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

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

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

Destroy object of the PowerChannel class.

Returns:
true in case of success or false if failed

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

Destroy object of the PowerChannel class.

Returns:
true in case of success or false if failed

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

Get "id" attribute value.

Definition at line 84 of file emp/PowerChannel.h.

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

Get "id" attribute value.

Definition at line 84 of file PowerChannel.h.

unsigned short SCTDAL::PowerChannel::get_module  )  const [inline]
 

Get "module" attribute value.

Definition at line 110 of file emp/PowerChannel.h.

unsigned short SCTDAL::PowerChannel::get_module  )  const [inline]
 

Get "module" attribute value.

Definition at line 110 of file PowerChannel.h.

unsigned short SCTDAL::PowerChannel::get_MUR  )  const [inline]
 

Get "MUR" attribute value.

Definition at line 97 of file emp/PowerChannel.h.

unsigned short SCTDAL::PowerChannel::get_MUR  )  const [inline]
 

Get "MUR" attribute value.

Definition at line 97 of file PowerChannel.h.

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

Get "params" relationship value.

Definition at line 123 of file emp/PowerChannel.h.

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

Get "params" relationship value.

Definition at line 123 of file PowerChannel.h.

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

Set "id" attribute value.

Definition at line 91 of file emp/PowerChannel.h.

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

Set "id" attribute value.

Definition at line 91 of file PowerChannel.h.

bool SCTDAL::PowerChannel::set_module unsigned short  value  )  [inline]
 

Set "module" attribute value.

Definition at line 117 of file emp/PowerChannel.h.

bool SCTDAL::PowerChannel::set_module unsigned short  value  )  [inline]
 

Set "module" attribute value.

Definition at line 117 of file PowerChannel.h.

bool SCTDAL::PowerChannel::set_MUR unsigned short  value  )  [inline]
 

Set "MUR" attribute value.

Definition at line 104 of file emp/PowerChannel.h.

bool SCTDAL::PowerChannel::set_MUR unsigned short  value  )  [inline]
 

Set "MUR" attribute value.

Definition at line 104 of file PowerChannel.h.

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

Set "params" relationship value.

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

Set "params" relationship value.

Definition at line 131 of file PowerChannel.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Dec 22 20:21:14 2005 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5