SCTDAL::PowerDefaults Class Reference

Default power supply settings, maybe overridden for each channel by a specialization. More...

#include <PowerDefaults.h>

Collaboration diagram for SCTDAL::PowerDefaults:

Collaboration graph
[legend]

Public Member Functions

 PowerDefaults (::Configuration &conf,::ConfigObject &obj)
virtual ~PowerDefaults ()
bool destroy (::Configuration &conf)
 Destroy object of the PowerDefaults 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::vector< const SCTDAL::Param * > & get_param () const
 Get "param" relationship value.
const std::vector< const SCTDAL::Param * > & param () const
bool set_param (const std::vector< const SCTDAL::Param * > &value)
 Set "param" relationship value.

Static Public Member Functions

static PowerDefaultscreate (::Configuration &conf, const std::string &id="")
 Create new object of the PowerDefaults 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_state
std::vector< const SCTDAL::Param * > m_param

Friends

class ::Configuration

Detailed Description

Default power supply settings, maybe overridden for each channel by a specialization.

Definition at line 26 of file PowerDefaults.h.


Member Function Documentation

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

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

Destroy object of the PowerDefaults class.

Returns:
true in case of success or false if failed

const std::vector<const SCTDAL::Param*>& SCTDAL::PowerDefaults::get_param  )  const [inline]
 

Get "param" relationship value.

Definition at line 95 of file PowerDefaults.h.

References check_init(), and m_param.

Here is the call graph for this function:

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

Get "state" attribute value.

Definition at line 82 of file PowerDefaults.h.

References check_init(), and m_state.

Here is the call graph for this function:

bool SCTDAL::PowerDefaults::set_param const std::vector< const SCTDAL::Param * > &  value  ) 
 

Set "param" relationship value.

Definition at line 115 of file PowerDefaults.cpp.

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

Set "state" attribute value.

Definition at line 89 of file PowerDefaults.h.


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