SCTDAL::PowerChannel Class Reference

Channel specialization for power settings. More...

#include <PowerChannel.h>


Public Member Functions

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

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

static 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

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

Get "id" attribute value.

Definition at line 84 of file PowerChannel.h.

References check_init(), and m_id.

Here is the call graph for this function:

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

Get "module" attribute value.

Definition at line 110 of file PowerChannel.h.

References check_init(), and m_module.

Here is the call graph for this function:

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

Get "MUR" attribute value.

Definition at line 97 of file PowerChannel.h.

References check_init(), and m_MUR.

Here is the call graph for this function:

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

Get "params" relationship value.

Definition at line 123 of file PowerChannel.h.

References check_init(), and m_params.

Here is the call graph for this function:

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 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.

Definition at line 131 of file PowerChannel.cpp.


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