KM3NeT CLB
2.0
KM3NeT CLB v2 Embedded Software
|
Access provides 'introspective' access to process variables. More...
Go to the source code of this file.
Functions | |
bool | xsVarExists (int varID) |
Returns whether or not the specified variable exists. More... | |
bool | xsRead (int varID, void *target, int size) |
Reads variable into target buffer from variable structure. More... | |
bool | xsWrite (int varID, void *source, int size) |
Writes variable from target buffer into variable structure. More... | |
bool | xsReadDB (int varID, DataBuffer *target) |
Reads variable into target data buffer from variable structure. More... | |
bool | xsWriteDB (int varID, DataBuffer *source) |
Writes variable from target data buffer into variable structure. More... | |
Variables | |
bool | xsLockConfig |
Variable to lock or unlock writing of configuration variables. More... | |
Access provides 'introspective' access to process variables.
There are two sets of functions. Functions which just take pointers to buffers, and functions which accept DataBuffers.
Access to virtual variables is transparent.
Definition in file access.h.
bool xsRead | ( | int | varID, |
void * | target, | ||
int | size | ||
) |
bool xsReadDB | ( | int | varID, |
DataBuffer * | target | ||
) |
bool xsVarExists | ( | int | varID | ) |
bool xsWrite | ( | int | varID, |
void * | source, | ||
int | size | ||
) |
bool xsWriteDB | ( | int | varID, |
DataBuffer * | source | ||
) |
bool xsLockConfig |
Variable to lock or unlock writing of configuration variables.
When attempting to write a configuration variable and illegal state will be returned.