#include <PowerCrate.h>
Public Member Functions | |
PowerCrate (::Configuration &conf,::ConfigObject &obj) | |
virtual | ~PowerCrate () |
bool | destroy (::Configuration &conf) |
Destroy object of the PowerCrate class. | |
virtual void | init (bool init_children) |
virtual void | print (unsigned int, bool, std::ostream &) const |
unsigned short | get_id () const |
Get "id" attribute value. | |
unsigned short | id () const |
bool | set_id (unsigned short value) |
Set "id" attribute value. | |
const std::vector< const SCTDAL::PowerChannel * > & | get_channels () const |
Get "channels" relationship value. | |
const std::vector< const SCTDAL::PowerChannel * > & | channels () const |
bool | set_channels (const std::vector< const SCTDAL::PowerChannel * > &value) |
Set "channels" relationship value. | |
const std::vector< const SCTDAL::PowerCard * > & | get_cards () const |
Get "cards" relationship value. | |
const std::vector< const SCTDAL::PowerCard * > & | cards () const |
bool | set_cards (const std::vector< const SCTDAL::PowerCard * > &value) |
Set "cards" relationship value. | |
Static Public Member Functions | |
static PowerCrate * | create (::Configuration &conf, const std::string &id="") |
Create new object of the PowerCrate 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 | |
unsigned short | m_id |
std::vector< const SCTDAL::PowerChannel * > | m_channels |
std::vector< const SCTDAL::PowerCard * > | m_cards |
Friends | |
class | ::Configuration |
Definition at line 29 of file PowerCrate.h.
|
Create new object of the PowerCrate class.
|
|
Destroy object of the PowerCrate class.
|
|
Get "cards" relationship value.
Definition at line 112 of file PowerCrate.h. References check_init(), and m_cards. Here is the call graph for this function: ![]() |
|
Get "channels" relationship value.
Definition at line 99 of file PowerCrate.h. References check_init(), and m_channels. Here is the call graph for this function: ![]() |
|
Get "id" attribute value.
Definition at line 86 of file PowerCrate.h. References check_init(), and m_id. Here is the call graph for this function: ![]() |
|
Set "cards" relationship value.
Definition at line 135 of file PowerCrate.cpp. |
|
Set "channels" relationship value.
Definition at line 126 of file PowerCrate.cpp. |
|
Set "id" attribute value.
Definition at line 93 of file PowerCrate.h. |