SCTDAL::Param Class Reference

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

#include <Param.h>

Collaboration diagram for SCTDAL::Param:

Collaboration graph
[legend]

Public Member Functions

 Param (::Configuration &conf,::ConfigObject &obj)
virtual ~Param ()
bool destroy (::Configuration &conf)
 Destroy object of the Param class.
virtual void init (bool init_children)
virtual void print (unsigned int, bool, std::ostream &) const
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

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

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


Member Function Documentation

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

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

Destroy object of the Param class.

Returns:
true in case of success or false if failed

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

Get "hiAlarm" attribute value.

Definition at line 146 of file Param.h.

References check_init(), and m_hiAlarm.

Here is the call graph for this function:

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

Get "hiWarn" attribute value.

Definition at line 133 of file Param.h.

References check_init(), and m_hiWarn.

Here is the call graph for this function:

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

Get "loAlarm" attribute value.

Definition at line 107 of file Param.h.

References check_init(), and m_loAlarm.

Here is the call graph for this function:

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

Get "loWarn" attribute value.

Definition at line 120 of file Param.h.

References check_init(), and m_loWarn.

Here is the call graph for this function:

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

Get "name" attribute value.

Definition at line 81 of file Param.h.

References check_init(), and m_name.

Here is the call graph for this function:

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

Get "value" attribute value.

Definition at line 94 of file Param.h.

References check_init(), and m_value.

Here is the call graph for this function:

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

Set "hiAlarm" attribute value.

Definition at line 153 of file Param.h.

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

Set "hiWarn" attribute value.

Definition at line 140 of file Param.h.

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

Set "loAlarm" attribute value.

Definition at line 114 of file Param.h.

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

Set "loWarn" attribute value.

Definition at line 127 of file Param.h.

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

Set "name" attribute value.

Definition at line 88 of file Param.h.

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

Set "value" attribute value.

Definition at line 101 of file Param.h.


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