SCTDAL::State Class Reference

Power supply settings for Off, Standby or On. More...

#include <State.h>

Collaboration diagram for SCTDAL::State:

Collaboration graph
[legend]

Public Member Functions

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

Static Public Member Functions

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

Friends

class ::Configuration

Detailed Description

Power supply settings for Off, Standby or On.

Definition at line 26 of file State.h.


Member Function Documentation

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

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

Destroy object of the State class.

Returns:
true in case of success or false if failed

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

Get "name" attribute value.

Definition at line 82 of file State.h.

References check_init(), and m_name.

Here is the call graph for this function:

const std::vector<const SCTDAL::Param*>& SCTDAL::State::get_stateParam  )  const [inline]
 

Get "stateParam" relationship value.

Definition at line 95 of file State.h.

References check_init(), and m_stateParam.

Here is the call graph for this function:

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

Set "name" attribute value.

Definition at line 89 of file State.h.

bool SCTDAL::State::set_stateParam const std::vector< const SCTDAL::Param * > &  value  ) 
 

Set "stateParam" relationship value.

Definition at line 115 of file State.cpp.


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