SCTDAL::Power Class Reference

Overall class for power supply defaults and crates. More...

#include <Power.h>


Public Member Functions

 Power (::Configuration &conf,::ConfigObject &obj)
virtual ~Power ()
bool destroy (::Configuration &conf)
 Destroy object of the Power class.
virtual void init (bool init_children)
virtual void print (unsigned int, bool, std::ostream &) const
const std::vector< const SCTDAL::PowerParam * > & get_defaults () const
 Get "defaults" relationship value.
const std::vector< const SCTDAL::PowerParam * > & defaults () const
bool set_defaults (const std::vector< const SCTDAL::PowerParam * > &value)
 Set "defaults" relationship value.
const std::vector< const SCTDAL::PowerCrate * > & get_crates () const
 Get "crates" relationship value.
const std::vector< const SCTDAL::PowerCrate * > & crates () const
bool set_crates (const std::vector< const SCTDAL::PowerCrate * > &value)
 Set "crates" relationship value.

Static Public Member Functions

static Powercreate (::Configuration &conf, const std::string &id="")
 Create new object of the Power 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::vector< const SCTDAL::PowerParam * > m_defaults
std::vector< const SCTDAL::PowerCrate * > m_crates

Friends

class ::Configuration


Detailed Description

Overall class for power supply defaults and crates.

Definition at line 29 of file Power.h.


Member Function Documentation

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

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

Destroy object of the Power class.

Returns:
true in case of success or false if failed

const std::vector<const SCTDAL::PowerCrate*>& SCTDAL::Power::get_crates  )  const [inline]
 

Get "crates" relationship value.

Definition at line 98 of file Power.h.

References check_init(), and m_crates.

Here is the call graph for this function:

const std::vector<const SCTDAL::PowerParam*>& SCTDAL::Power::get_defaults  )  const [inline]
 

Get "defaults" relationship value.

Definition at line 85 of file Power.h.

References check_init(), and m_defaults.

Here is the call graph for this function:

bool SCTDAL::Power::set_crates const std::vector< const SCTDAL::PowerCrate * > &  value  ) 
 

Set "crates" relationship value.

Definition at line 123 of file Power.cpp.

bool SCTDAL::Power::set_defaults const std::vector< const SCTDAL::PowerParam * > &  value  ) 
 

Set "defaults" relationship value.

Definition at line 114 of file Power.cpp.


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