#include <PowerCard.h>
Collaboration diagram for SCTDAL::PowerCard:
Public Member Functions | |
PowerCard (::Configuration &conf,::ConfigObject &obj) | |
virtual | ~PowerCard () |
bool | destroy (::Configuration &conf) |
Destroy object of the PowerCard 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::string & | get_type () const |
Get "type" attribute value. | |
const std::string & | type () const |
bool | set_type (const std::string &value) |
Set "type" attribute value. | |
const std::vector< const SCTDAL::PowerParam * > & | get_params () const |
Get "params" relationship value. | |
const std::vector< const SCTDAL::PowerParam * > & | params () const |
bool | set_params (const std::vector< const SCTDAL::PowerParam * > &value) |
Set "params" relationship value. | |
Static Public Member Functions | |
static PowerCard * | create (::Configuration &conf, const std::string &id="") |
Create new object of the PowerCard 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::string | m_type |
std::vector< const SCTDAL::PowerParam * > | m_params |
Friends | |
class | ::Configuration |
Definition at line 26 of file PowerCard.h.
|
Create new object of the PowerCard class.
|
|
Destroy object of the PowerCard class.
|
|
Get "id" attribute value.
Definition at line 83 of file PowerCard.h. References check_init(), and m_id. Here is the call graph for this function: ![]() |
|
Get "params" relationship value.
Definition at line 109 of file PowerCard.h. References check_init(), and m_params. Here is the call graph for this function: ![]() |
|
Get "type" attribute value.
Definition at line 96 of file PowerCard.h. References check_init(), and m_type. Here is the call graph for this function: ![]() |
|
Set "id" attribute value.
Definition at line 90 of file PowerCard.h. |
|
Set "params" relationship value.
Definition at line 123 of file PowerCard.cpp. |
|
Set "type" attribute value.
Definition at line 103 of file PowerCard.h. |