#include <SCT_Chip.h>
Collaboration diagram for SCTDAL::SCT_Chip:
Public Member Functions | |
SCT_Chip (::Configuration &conf,::ConfigObject &obj) | |
virtual | ~SCT_Chip () |
bool | destroy (::Configuration &conf) |
Destroy object of the SCT_Chip 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. | |
unsigned short | get_address () const |
Get "address" attribute value. | |
unsigned short | address () const |
bool | set_address (unsigned short value) |
Set "address" 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_vthr () const |
Get "vthr" attribute value. | |
unsigned short | vthr () const |
bool | set_vthr (unsigned short value) |
Set "vthr" attribute value. | |
unsigned short | get_vcal () const |
Get "vcal" attribute value. | |
unsigned short | vcal () const |
bool | set_vcal (unsigned short value) |
Set "vcal" attribute value. | |
unsigned short | get_delay () const |
Get "delay" attribute value. | |
unsigned short | delay () const |
bool | set_delay (unsigned short value) |
Set "delay" attribute value. | |
unsigned short | get_preamp () const |
Get "preamp" attribute value. | |
unsigned short | preamp () const |
bool | set_preamp (unsigned short value) |
Set "preamp" attribute value. | |
unsigned short | get_shaper () const |
Get "shaper" attribute value. | |
unsigned short | shaper () const |
bool | set_shaper (unsigned short value) |
Set "shaper" attribute value. | |
const std::string & | get_rc_function () const |
Get "rc_function" attribute value. | |
const std::string & | rc_function () const |
bool | set_rc_function (const std::string &value) |
Set "rc_function" attribute value. | |
unsigned short | get_rc_function_type () const |
Get "rc_function_type" attribute value. | |
unsigned short | rc_function_type () const |
bool | set_rc_function_type (unsigned short value) |
Set "rc_function_type" attribute value. | |
const std::vector< unsigned short > & | get_config () const |
Get "config" attribute value. | |
const std::vector< unsigned short > & | config () const |
bool | set_config (const std::vector< unsigned short > &value) |
Set "config" attribute value. | |
float | get_c_factor () const |
Get "c_factor" attribute value. | |
float | c_factor () const |
bool | set_c_factor (float value) |
Set "c_factor" attribute value. | |
float | get_target () const |
Get "target" attribute value. | |
float | target () const |
bool | set_target (float value) |
Set "target" attribute value. | |
const std::vector< unsigned long > & | get_trims () const |
Get "trims" attribute value. | |
const std::vector< unsigned long > & | trims () const |
bool | set_trims (const std::vector< unsigned long > &value) |
Set "trims" attribute value. | |
const std::vector< unsigned long > & | get_mask () const |
Get "mask" attribute value. | |
const std::vector< unsigned long > & | mask () const |
bool | set_mask (const std::vector< unsigned long > &value) |
Set "mask" attribute value. | |
Static Public Member Functions | |
static SCT_Chip * | create (::Configuration &conf, const std::string &id="") |
Create new object of the SCT_Chip 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 |
unsigned short | m_address |
bool | m_active |
unsigned short | m_vthr |
unsigned short | m_vcal |
unsigned short | m_delay |
unsigned short | m_preamp |
unsigned short | m_shaper |
std::string | m_rc_function |
unsigned short | m_rc_function_type |
std::vector< unsigned short > | m_config |
float | m_c_factor |
float | m_target |
std::vector< unsigned long > | m_trims |
std::vector< unsigned long > | m_mask |
Friends | |
class | ::Configuration |
Definition at line 21 of file SCT_Chip.h.
|
Create new object of the SCT_Chip class.
|
|
Destroy object of the SCT_Chip class.
|
|
Get "active" attribute value. Set to true for active, and false for inactive. Definition at line 117 of file SCT_Chip.h. References check_init(), and m_active. Here is the call graph for this function: ![]() |
|
Get "address" attribute value.
Definition at line 103 of file SCT_Chip.h. References check_init(), and m_address. Here is the call graph for this function: ![]() |
|
Get "c_factor" attribute value.
Definition at line 237 of file SCT_Chip.h. References check_init(), and m_c_factor. Here is the call graph for this function: ![]() |
|
Get "config" attribute value. A list of 11 numbers. Usually looks something like "1 3 1 0 0 0 0 0 1 0 1" but the penultimate digit is sometimes a 1, and the third digit is sometimes a 1 or a 2. Definition at line 223 of file SCT_Chip.h. References check_init(), and m_config. Here is the call graph for this function: ![]() |
|
Get "delay" attribute value.
Definition at line 157 of file SCT_Chip.h. References check_init(), and m_delay. Here is the call graph for this function: ![]() |
|
Get "id" attribute value.
Definition at line 90 of file SCT_Chip.h. References check_init(), and m_id. Here is the call graph for this function: ![]() |
|
Get "mask" attribute value.
Definition at line 276 of file SCT_Chip.h. References check_init(), and m_mask. Here is the call graph for this function: ![]() |
|
Get "preamp" attribute value.
Definition at line 170 of file SCT_Chip.h. References check_init(), and m_preamp. Here is the call graph for this function: ![]() |
|
Get "rc_function" attribute value.
Definition at line 196 of file SCT_Chip.h. References check_init(), and m_rc_function. Here is the call graph for this function: ![]() |
|
Get "rc_function_type" attribute value.
Definition at line 209 of file SCT_Chip.h. References check_init(), and m_rc_function_type. Here is the call graph for this function: ![]() |
|
Get "shaper" attribute value.
Definition at line 183 of file SCT_Chip.h. References check_init(), and m_shaper. Here is the call graph for this function: ![]() |
|
Get "target" attribute value.
Definition at line 250 of file SCT_Chip.h. References check_init(), and m_target. Here is the call graph for this function: ![]() |
|
Get "trims" attribute value.
Definition at line 263 of file SCT_Chip.h. References check_init(), and m_trims. Here is the call graph for this function: ![]() |
|
Get "vcal" attribute value.
Definition at line 144 of file SCT_Chip.h. References check_init(), and m_vcal. Here is the call graph for this function: ![]() |
|
Get "vthr" attribute value.
Definition at line 131 of file SCT_Chip.h. References check_init(), and m_vthr. Here is the call graph for this function: ![]() |
|
Set "active" attribute value. Set to true for active, and false for inactive. Definition at line 125 of file SCT_Chip.h. |
|
Set "address" attribute value.
Definition at line 110 of file SCT_Chip.h. |
|
Set "c_factor" attribute value.
Definition at line 244 of file SCT_Chip.h. |
|
Set "config" attribute value. A list of 11 numbers. Usually looks something like "1 3 1 0 0 0 0 0 1 0 1" but the penultimate digit is sometimes a 1, and the third digit is sometimes a 1 or a 2. Definition at line 231 of file SCT_Chip.h. |
|
Set "delay" attribute value.
Definition at line 164 of file SCT_Chip.h. |
|
Set "id" attribute value.
Definition at line 97 of file SCT_Chip.h. |
|
Set "mask" attribute value.
Definition at line 283 of file SCT_Chip.h. |
|
Set "preamp" attribute value.
Definition at line 177 of file SCT_Chip.h. |
|
Set "rc_function" attribute value.
Definition at line 203 of file SCT_Chip.h. |
|
Set "rc_function_type" attribute value.
Definition at line 216 of file SCT_Chip.h. |
|
Set "shaper" attribute value.
Definition at line 190 of file SCT_Chip.h. |
|
Set "target" attribute value.
Definition at line 257 of file SCT_Chip.h. |
|
Set "trims" attribute value.
Definition at line 270 of file SCT_Chip.h. |
|
Set "vcal" attribute value.
Definition at line 151 of file SCT_Chip.h. |
|
Set "vthr" attribute value.
Definition at line 138 of file SCT_Chip.h. |