rllib
1
|
#include <rldataacquisition.h>
Classes | |
struct | SHM_HEADER |
Public Types | |
enum | DAQ_ENUM { DAQ_ERROR = 256*256*128 } |
Public Member Functions | |
rlDataAcquisition (const char *mailbox="c:\utomation\bx\ataacquisition.mbx", const char *shared_memory="c:\utomation\hm\ataacquisition.shm", long shared_memory_size=65536) | |
virtual | ~rlDataAcquisition () |
const char * | stringValue (const char *variable) |
int | intValue (const char *variable) |
float | floatValue (const char *variable) |
int | writeStringValue (const char *variable, const char *value) |
int | writeIntValue (const char *variable, int value) |
int | writeFloatValue (const char *variable, float value) |
int | readErrorCount () |
int | writeErrorCount () |
int | lifeCounter () |
const char * | firstVariable () |
const char * | nextVariable () |
int | shmStatus () |
int | shmKey () |
int | shmId () |
Private Attributes | |
SHM_HEADER * | shmheader |
const char * | shmvalues |
rlMailbox * | mbx |
rlSharedMemory * | shm |
int | iCurrent |
This class is for data acquisition within pvserver according to the pvbrowser principle. It communicates by the means of a shared memory and a mailbox. Use it together with rlDataAcquisitionProvider.
Definition at line 28 of file rldataacquisition.h.
Enumerator | |
---|---|
DAQ_ERROR |
Definition at line 45 of file rldataacquisition.h.
rlDataAcquisition::rlDataAcquisition | ( | const char * | mailbox = "c:\\automation\\mbx\\dataacquisition.mbx" , |
const char * | shared_memory = "c:\\automation\\shm\\dataacquisition.shm" , |
||
long | shared_memory_size = 65536 |
||
) |
Definition at line 21 of file rldataacquisition.cpp.
|
virtual |
Definition at line 30 of file rldataacquisition.cpp.
const char * rlDataAcquisition::firstVariable | ( | ) |
Definition at line 126 of file rldataacquisition.cpp.
float rlDataAcquisition::floatValue | ( | const char * | variable | ) |
Definition at line 75 of file rldataacquisition.cpp.
int rlDataAcquisition::intValue | ( | const char * | variable | ) |
Definition at line 60 of file rldataacquisition.cpp.
int rlDataAcquisition::lifeCounter | ( | ) |
const char * rlDataAcquisition::nextVariable | ( | ) |
Definition at line 137 of file rldataacquisition.cpp.
int rlDataAcquisition::readErrorCount | ( | ) |
int rlDataAcquisition::shmId | ( | ) |
Definition at line 177 of file rldataacquisition.cpp.
int rlDataAcquisition::shmKey | ( | ) |
Definition at line 171 of file rldataacquisition.cpp.
int rlDataAcquisition::shmStatus | ( | ) |
Definition at line 164 of file rldataacquisition.cpp.
const char * rlDataAcquisition::stringValue | ( | const char * | variable | ) |
Definition at line 36 of file rldataacquisition.cpp.
int rlDataAcquisition::writeErrorCount | ( | ) |
int rlDataAcquisition::writeFloatValue | ( | const char * | variable, |
float | value | ||
) |
Definition at line 102 of file rldataacquisition.cpp.
int rlDataAcquisition::writeIntValue | ( | const char * | variable, |
int | value | ||
) |
Definition at line 96 of file rldataacquisition.cpp.
int rlDataAcquisition::writeStringValue | ( | const char * | variable, |
const char * | value | ||
) |
Definition at line 90 of file rldataacquisition.cpp.
|
private |
Definition at line 79 of file rldataacquisition.h.
|
private |
Definition at line 77 of file rldataacquisition.h.
|
private |
Definition at line 78 of file rldataacquisition.h.
|
private |
Definition at line 75 of file rldataacquisition.h.
|
private |
Definition at line 76 of file rldataacquisition.h.