#include <SCT_Module.h>
Collaboration diagram for SCTDAL::SCT_Module:
Public Member Functions | |
SCT_Module (::Configuration &conf,::ConfigObject &obj) | |
virtual | ~SCT_Module () |
bool | destroy (::Configuration &conf) |
Destroy object of the SCT_Module class. | |
virtual void | init (bool init_children) |
virtual void | print (unsigned int, bool, std::ostream &) const |
const std::string & | get_sn () const |
Get "sn" attribute value. | |
const std::string & | sn () const |
bool | set_sn (const std::string &value) |
Set "sn" attribute value. | |
const std::string & | get_source () const |
Get "source" attribute value. | |
const std::string & | source () const |
bool | set_source (const std::string &value) |
Set "source" attribute value. | |
const std::string & | get_location () const |
Get "location" attribute value. | |
const std::string & | location () const |
bool | set_location (const std::string &value) |
Set "location" attribute value. | |
bool | get_active () const |
Get "active" attribute value. | |
bool | active () const |
bool | set_active (bool value) |
Set "active" attribute value. | |
unsigned short | get_select () const |
Get "select" attribute value. | |
unsigned short | select () const |
bool | set_select (unsigned short value) |
Set "select" attribute value. | |
const std::vector< const SCTDAL::SCT_Chip * > & | get_Chips () const |
Get "Chips" relationship value. | |
const std::vector< const SCTDAL::SCT_Chip * > & | Chips () const |
bool | set_Chips (const std::vector< const SCTDAL::SCT_Chip * > &value) |
Set "Chips" relationship value. | |
Static Public Member Functions | |
static SCT_Module * | create (::Configuration &conf, const std::string &id="") |
Create new object of the SCT_Module 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_sn |
std::string | m_source |
std::string | m_location |
bool | m_active |
unsigned short | m_select |
std::vector< const SCTDAL::SCT_Chip * > | m_Chips |
Friends | |
class | ::Configuration |
Definition at line 26 of file SCT_Module.h.
|
Create new object of the SCT_Module class.
|
|
Destroy object of the SCT_Module class.
|
|
Get "active" attribute value. For active, set true. For inactive, set false. Definition at line 128 of file SCT_Module.h. References check_init(), and m_active. Here is the call graph for this function: ![]() |
|
Get "Chips" relationship value. The 12 chips on each module Definition at line 158 of file SCT_Module.h. References check_init(), and m_Chips. Here is the call graph for this function: ![]() |
|
Get "location" attribute value.
Definition at line 114 of file SCT_Module.h. References check_init(), and m_location. Here is the call graph for this function: ![]() |
|
Get "select" attribute value. This really ought to be a bool, but for historical reasons, the terms "select equals one" and "select equals zero" have entered common usage, and to make it a bool would cause significant confusion. Definition at line 143 of file SCT_Module.h. References check_init(), and m_select. Here is the call graph for this function: ![]() |
|
Get "sn" attribute value. Serial Number Definition at line 87 of file SCT_Module.h. References check_init(), and m_sn. Here is the call graph for this function: ![]() |
|
Get "source" attribute value.
Definition at line 101 of file SCT_Module.h. References check_init(), and m_source. Here is the call graph for this function: ![]() |
|
Set "active" attribute value. For active, set true. For inactive, set false. Definition at line 136 of file SCT_Module.h. |
|
Set "Chips" relationship value. The 12 chips on each module Definition at line 147 of file SCT_Module.cpp. |
|
Set "location" attribute value.
Definition at line 121 of file SCT_Module.h. |
|
Set "select" attribute value. This really ought to be a bool, but for historical reasons, the terms "select equals one" and "select equals zero" have entered common usage, and to make it a bool would cause significant confusion. Definition at line 151 of file SCT_Module.h. |
|
Set "sn" attribute value. Serial Number Definition at line 95 of file SCT_Module.h. |
|
Set "source" attribute value.
Definition at line 108 of file SCT_Module.h. |