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

SCTDAL::PowerParam Class Reference

Values and warnings for each power supply parameter. More...

#include <PowerParam.h>


Public Member Functions

 PowerParam (::Configuration &conf,::ConfigObject &obj)
bool destroy (::Configuration &conf)
 Destroy object of the PowerParam class.

virtual void init (bool init_children)
virtual void print (unsigned int, bool, std::ostream &) const
const std::string & get_state () const
 Get "state" attribute value.

const std::string & state () const
bool set_state (const std::string &value)
 Set "state" attribute value.

const std::string & get_name () const
 Get "name" attribute value.

const std::string & name () const
bool set_name (const std::string &value)
 Set "name" attribute value.

float get_value () const
 Get "value" attribute value.

float value () const
bool set_value (float value)
 Set "value" attribute value.

float get_loAlarm () const
 Get "loAlarm" attribute value.

float loAlarm () const
bool set_loAlarm (float value)
 Set "loAlarm" attribute value.

float get_loWarn () const
 Get "loWarn" attribute value.

float loWarn () const
bool set_loWarn (float value)
 Set "loWarn" attribute value.

float get_hiWarn () const
 Get "hiWarn" attribute value.

float hiWarn () const
bool set_hiWarn (float value)
 Set "hiWarn" attribute value.

float get_hiAlarm () const
 Get "hiAlarm" attribute value.

float hiAlarm () const
bool set_hiAlarm (float value)
 Set "hiAlarm" attribute value.

 PowerParam (::Configuration &conf,::ConfigObject &obj)
bool destroy (::Configuration &conf)
 Destroy object of the PowerParam class.

virtual void init (bool init_children)
virtual void print (unsigned int, bool, std::ostream &) const
const std::string & get_state () const
 Get "state" attribute value.

const std::string & state () const
bool set_state (const std::string &value)
 Set "state" attribute value.

const std::string & get_name () const
 Get "name" attribute value.

const std::string & name () const
bool set_name (const std::string &value)
 Set "name" attribute value.

float get_value () const
 Get "value" attribute value.

float value () const
bool set_value (float value)
 Set "value" attribute value.

float get_loAlarm () const
 Get "loAlarm" attribute value.

float loAlarm () const
bool set_loAlarm (float value)
 Set "loAlarm" attribute value.

float get_loWarn () const
 Get "loWarn" attribute value.

float loWarn () const
bool set_loWarn (float value)
 Set "loWarn" attribute value.

float get_hiWarn () const
 Get "hiWarn" attribute value.

float hiWarn () const
bool set_hiWarn (float value)
 Set "hiWarn" attribute value.

float get_hiAlarm () const
 Get "hiAlarm" attribute value.

float hiAlarm () const
bool set_hiAlarm (float value)
 Set "hiAlarm" attribute value.


Static Public Member Functions

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

PowerParamcreate (::Configuration &conf, const std::string &id="")
 Create new object of the PowerParam 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

std::string m_state
std::string m_name
float m_value
float m_loAlarm
float m_loWarn
float m_hiWarn
float m_hiAlarm

Friends

class ::Configuration


Detailed Description

Values and warnings for each power supply parameter.

Definition at line 21 of file PowerParam.h.


Member Function Documentation

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

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

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

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

Destroy object of the PowerParam class.

Returns:
true in case of success or false if failed

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

Destroy object of the PowerParam class.

Returns:
true in case of success or false if failed

float SCTDAL::PowerParam::get_hiAlarm  )  const [inline]
 

Get "hiAlarm" attribute value.

Definition at line 160 of file emp/PowerParam.h.

float SCTDAL::PowerParam::get_hiAlarm  )  const [inline]
 

Get "hiAlarm" attribute value.

Definition at line 160 of file PowerParam.h.

float SCTDAL::PowerParam::get_hiWarn  )  const [inline]
 

Get "hiWarn" attribute value.

Definition at line 147 of file emp/PowerParam.h.

float SCTDAL::PowerParam::get_hiWarn  )  const [inline]
 

Get "hiWarn" attribute value.

Definition at line 147 of file PowerParam.h.

float SCTDAL::PowerParam::get_loAlarm  )  const [inline]
 

Get "loAlarm" attribute value.

Definition at line 121 of file emp/PowerParam.h.

float SCTDAL::PowerParam::get_loAlarm  )  const [inline]
 

Get "loAlarm" attribute value.

Definition at line 121 of file PowerParam.h.

float SCTDAL::PowerParam::get_loWarn  )  const [inline]
 

Get "loWarn" attribute value.

Definition at line 134 of file emp/PowerParam.h.

float SCTDAL::PowerParam::get_loWarn  )  const [inline]
 

Get "loWarn" attribute value.

Definition at line 134 of file PowerParam.h.

const std::string& SCTDAL::PowerParam::get_name  )  const [inline]
 

Get "name" attribute value.

Definition at line 95 of file emp/PowerParam.h.

const std::string& SCTDAL::PowerParam::get_name  )  const [inline]
 

Get "name" attribute value.

Definition at line 95 of file PowerParam.h.

const std::string& SCTDAL::PowerParam::get_state  )  const [inline]
 

Get "state" attribute value.

Definition at line 82 of file emp/PowerParam.h.

const std::string& SCTDAL::PowerParam::get_state  )  const [inline]
 

Get "state" attribute value.

Definition at line 82 of file PowerParam.h.

float SCTDAL::PowerParam::get_value  )  const [inline]
 

Get "value" attribute value.

Definition at line 108 of file emp/PowerParam.h.

float SCTDAL::PowerParam::get_value  )  const [inline]
 

Get "value" attribute value.

Definition at line 108 of file PowerParam.h.

bool SCTDAL::PowerParam::set_hiAlarm float  value  )  [inline]
 

Set "hiAlarm" attribute value.

Definition at line 167 of file emp/PowerParam.h.

bool SCTDAL::PowerParam::set_hiAlarm float  value  )  [inline]
 

Set "hiAlarm" attribute value.

Definition at line 167 of file PowerParam.h.

bool SCTDAL::PowerParam::set_hiWarn float  value  )  [inline]
 

Set "hiWarn" attribute value.

Definition at line 154 of file emp/PowerParam.h.

bool SCTDAL::PowerParam::set_hiWarn float  value  )  [inline]
 

Set "hiWarn" attribute value.

Definition at line 154 of file PowerParam.h.

bool SCTDAL::PowerParam::set_loAlarm float  value  )  [inline]
 

Set "loAlarm" attribute value.

Definition at line 128 of file emp/PowerParam.h.

bool SCTDAL::PowerParam::set_loAlarm float  value  )  [inline]
 

Set "loAlarm" attribute value.

Definition at line 128 of file PowerParam.h.

bool SCTDAL::PowerParam::set_loWarn float  value  )  [inline]
 

Set "loWarn" attribute value.

Definition at line 141 of file emp/PowerParam.h.

bool SCTDAL::PowerParam::set_loWarn float  value  )  [inline]
 

Set "loWarn" attribute value.

Definition at line 141 of file PowerParam.h.

bool SCTDAL::PowerParam::set_name const std::string &  value  )  [inline]
 

Set "name" attribute value.

Definition at line 102 of file emp/PowerParam.h.

bool SCTDAL::PowerParam::set_name const std::string &  value  )  [inline]
 

Set "name" attribute value.

Definition at line 102 of file PowerParam.h.

bool SCTDAL::PowerParam::set_state const std::string &  value  )  [inline]
 

Set "state" attribute value.

Definition at line 89 of file emp/PowerParam.h.

bool SCTDAL::PowerParam::set_state const std::string &  value  )  [inline]
 

Set "state" attribute value.

Definition at line 89 of file PowerParam.h.

bool SCTDAL::PowerParam::set_value float  value  )  [inline]
 

Set "value" attribute value.

Definition at line 115 of file emp/PowerParam.h.

bool SCTDAL::PowerParam::set_value float  value  )  [inline]
 

Set "value" attribute value.

Definition at line 115 of file PowerParam.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