#include <ngcbPARAM.hpp>
Public Member Functions | |
| bool | operator== (const ngcbPARAM &other) const |
| Comparison operator ==. | |
| bool | operator!= (const ngcbPARAM &other) const |
| Comparison operator !=. | |
| ngcbPARAM & | operator= (const ngcbPARAM &other) |
| Operator =. | |
| ngcbPARAM (const ngcbPARAM &other) | |
| Copy constructor. | |
| ngcbPARAM () | |
| Constructors for basic container. | |
| ngcbPARAM (const char *paramName) | |
| Constructor for asic container with parameter name. | |
| ngcbPARAM (const char *paramName, char initVal) | |
| Constructor for logical parameter ('T' or 'F' or 0 or 1) | |
| ngcbPARAM (const char *paramName, int initVal) | |
| Constructor for 32-bit signed integer parameter. | |
| ngcbPARAM (const char *paramName, float initVal) | |
| Constructor for 32-bit floating point parameter. | |
| ngcbPARAM (const char *paramName, double initVal) | |
| Constructor for 64-bit floating point parameter. | |
| ngcbPARAM (const char *paramName, const char *initVal) | |
| Constructor for string parameter. | |
| ngcbPARAM (const char *paramName, const char *initVal, int type) | |
| Constructor for free paramter with string value and assigned type. | |
| virtual | ~ngcbPARAM () |
| Destructor. | |
| int | Comp (ngcbPARAM &p) |
| Compare parameter values. | |
| int | Changed () |
| Check for change since last call. | |
| void | Alias (const char *a) |
| Set alias name. | |
| int | Type () |
| Get parameter type. | |
| void | Type (int newType) |
| Set parameter type. | |
| int | Set (char newValue) |
| Set parameter value converted to character format. | |
| int | Set (int newValue) |
| Set parameter value converted to 32-bit integer format. | |
| int | Set (float newValue) |
| Set parameter value converted to 32-bit float format. | |
| int | Set (double newValue) |
| Set parameter value converted to 64-bit float format. | |
| int | Set (const char *newValue) |
| Set parameter value converted to string format. | |
| char | ValChar () const |
| Get parameter value converted to character format. | |
| int | ValInt () const |
| Get parameter value converted to 32-bit integer format. | |
| float | ValFloat () const |
| Get parameter value converted to 32-bit floating point format. | |
| double | ValDouble () const |
| Get parameter value converted to 64-bit floating point format. | |
| const char * | ValString () |
| Get parameter value converted to string format. | |
| const char * | Get () |
| Get parameter value converted to string format. | |
| void | Get (char *stringVal) const |
| Get parameter value converted to string format (copy to argument) | |
| void | Store () |
| Store to temporary buffer. | |
| void | Restore () |
| Restore from temporary buffer. | |
Public Attributes | |
| unsigned int | ctrlList |
| List of controller modules where parameter is used. | |
| unsigned int | acqList |
| List of acquisition processes where parameter is used. | |
| char | name [64] |
| Parameter name. | |
| char | alias [64] |
| Parameter alias name. | |
| char | format [16] |
| Parameter format for printf etc. | |
| int | fits |
| Flag to put paramter into FITS-header. | |
| char | comment [44] |
| Optional parameter comment for FITS-header. | |
| char | unit [8] |
| Optional parameter unit. | |
| int | attribute |
| Storage space for application specific attributes. | |
Parameter class
| ngcbPARAM::ngcbPARAM | ( | const ngcbPARAM & | other | ) |
Copy constructor.
| ngcbPARAM::ngcbPARAM | ( | ) |
Constructors for basic container.
|
explicit |
Constructor for asic container with parameter name.
| ngcbPARAM::ngcbPARAM | ( | const char * | paramName, |
| char | initVal ) |
Constructor for logical parameter ('T' or 'F' or 0 or 1)
| ngcbPARAM::ngcbPARAM | ( | const char * | paramName, |
| int | initVal ) |
Constructor for 32-bit signed integer parameter.
| ngcbPARAM::ngcbPARAM | ( | const char * | paramName, |
| float | initVal ) |
Constructor for 32-bit floating point parameter.
| ngcbPARAM::ngcbPARAM | ( | const char * | paramName, |
| double | initVal ) |
Constructor for 64-bit floating point parameter.
| ngcbPARAM::ngcbPARAM | ( | const char * | paramName, |
| const char * | initVal ) |
Constructor for string parameter.
| ngcbPARAM::ngcbPARAM | ( | const char * | paramName, |
| const char * | initVal, | ||
| int | type ) |
Constructor for free paramter with string value and assigned type.
|
virtual |
Destructor.
| void ngcbPARAM::Alias | ( | const char * | a | ) |
Set alias name.
| int ngcbPARAM::Changed | ( | ) |
Check for change since last call.
| int ngcbPARAM::Comp | ( | ngcbPARAM & | p | ) |
Compare parameter values.
| const char * ngcbPARAM::Get | ( | ) |
Get parameter value converted to string format.
| void ngcbPARAM::Get | ( | char * | stringVal | ) | const |
Get parameter value converted to string format (copy to argument)
| bool ngcbPARAM::operator!= | ( | const ngcbPARAM & | other | ) | const |
Comparison operator !=.
| bool ngcbPARAM::operator== | ( | const ngcbPARAM & | other | ) | const |
Comparison operator ==.
| void ngcbPARAM::Restore | ( | ) |
Restore from temporary buffer.
| int ngcbPARAM::Set | ( | char | newValue | ) |
Set parameter value converted to character format.
| int ngcbPARAM::Set | ( | const char * | newValue | ) |
Set parameter value converted to string format.
| int ngcbPARAM::Set | ( | double | newValue | ) |
Set parameter value converted to 64-bit float format.
| int ngcbPARAM::Set | ( | float | newValue | ) |
Set parameter value converted to 32-bit float format.
| int ngcbPARAM::Set | ( | int | newValue | ) |
Set parameter value converted to 32-bit integer format.
| void ngcbPARAM::Store | ( | ) |
Store to temporary buffer.
| int ngcbPARAM::Type | ( | ) |
Get parameter type.
| void ngcbPARAM::Type | ( | int | newType | ) |
Set parameter type.
| char ngcbPARAM::ValChar | ( | ) | const |
Get parameter value converted to character format.
| double ngcbPARAM::ValDouble | ( | ) | const |
Get parameter value converted to 64-bit floating point format.
| float ngcbPARAM::ValFloat | ( | ) | const |
Get parameter value converted to 32-bit floating point format.
| int ngcbPARAM::ValInt | ( | ) | const |
Get parameter value converted to 32-bit integer format.
| const char * ngcbPARAM::ValString | ( | ) |
Get parameter value converted to string format.
| unsigned int ngcbPARAM::acqList |
List of acquisition processes where parameter is used.
| char ngcbPARAM::alias[64] |
Parameter alias name.
| int ngcbPARAM::attribute |
Storage space for application specific attributes.
| char ngcbPARAM::comment[44] |
Optional parameter comment for FITS-header.
| unsigned int ngcbPARAM::ctrlList |
List of controller modules where parameter is used.
| int ngcbPARAM::fits |
Flag to put paramter into FITS-header.
| char ngcbPARAM::format[16] |
Parameter format for printf etc.
| char ngcbPARAM::name[64] |
Parameter name.
| char ngcbPARAM::unit[8] |
Optional parameter unit.