rllib
1
|
#include <rldataacquisitionprovider.h>
Classes | |
struct | SHM_HEADER |
Public Types | |
enum | DAQ_PROVIDER_ENUM { DAQ_PROVIDER_ERROR = 256*256*128 } |
Public Member Functions | |
rlDataAcquisitionProvider (int maxNameLength=31, const char *shared_memory="c:\utomation\hm\ataacquisition.shm", long shared_memory_size=65536) | |
virtual | ~rlDataAcquisitionProvider () |
int | readItemList (const char *filename) |
const char * | firstItem () |
const char * | nextItem () |
const char * | stringValue (const char *variable) |
int | intValue (const char *variable) |
float | floatValue (const char *variable) |
int | setStringValue (const char *variable, const char *value) |
int | setIntValue (const char *variable, int value) |
int | setFloatValue (const char *variable, float value) |
int | readErrorCount () |
int | writeErrorCount () |
int | lifeCounter () |
int | setReadErrorCount (int count) |
int | setWriteErrorCount (int count) |
int | setLifeCounter (int count) |
int | shmStatus () |
int | setAllowAddValues (int allow, int maxItemNameLength) |
Private Attributes | |
SHM_HEADER * | shmheader |
char * | shmvalues |
int | current_item |
int | allow_add_values |
rlSharedMemory * | shm |
long | sharedMemorySize |
This class is usefull to implement your own data acquisition according to the pvbrowser principle. It is used within pvb/template/dataacquisition/client/data_acquisition_provider_template.cpp Starting from there you can implement your data acquisition.
Definition at line 27 of file rldataacquisitionprovider.h.
rlDataAcquisitionProvider::rlDataAcquisitionProvider | ( | int | maxNameLength = 31 , |
const char * | shared_memory = "c:\\automation\\shm\\dataacquisition.shm" , |
||
long | shared_memory_size = 65536 |
||
) |
Definition at line 21 of file rldataacquisitionprovider.cpp.
|
virtual |
Definition at line 37 of file rldataacquisitionprovider.cpp.
const char * rlDataAcquisitionProvider::firstItem | ( | ) |
Definition at line 112 of file rldataacquisitionprovider.cpp.
float rlDataAcquisitionProvider::floatValue | ( | const char * | variable | ) |
Definition at line 186 of file rldataacquisitionprovider.cpp.
int rlDataAcquisitionProvider::intValue | ( | const char * | variable | ) |
Definition at line 171 of file rldataacquisitionprovider.cpp.
int rlDataAcquisitionProvider::lifeCounter | ( | ) |
Definition at line 280 of file rldataacquisitionprovider.cpp.
const char * rlDataAcquisitionProvider::nextItem | ( | ) |
Definition at line 129 of file rldataacquisitionprovider.cpp.
int rlDataAcquisitionProvider::readErrorCount | ( | ) |
Definition at line 268 of file rldataacquisitionprovider.cpp.
int rlDataAcquisitionProvider::readItemList | ( | const char * | filename | ) |
Definition at line 42 of file rldataacquisitionprovider.cpp.
int rlDataAcquisitionProvider::setAllowAddValues | ( | int | allow, |
int | maxItemNameLength | ||
) |
Definition at line 314 of file rldataacquisitionprovider.cpp.
int rlDataAcquisitionProvider::setFloatValue | ( | const char * | variable, |
float | value | ||
) |
Definition at line 260 of file rldataacquisitionprovider.cpp.
int rlDataAcquisitionProvider::setIntValue | ( | const char * | variable, |
int | value | ||
) |
Definition at line 252 of file rldataacquisitionprovider.cpp.
int rlDataAcquisitionProvider::setLifeCounter | ( | int | count | ) |
Definition at line 300 of file rldataacquisitionprovider.cpp.
int rlDataAcquisitionProvider::setReadErrorCount | ( | int | count | ) |
Definition at line 286 of file rldataacquisitionprovider.cpp.
int rlDataAcquisitionProvider::setStringValue | ( | const char * | variable, |
const char * | value | ||
) |
Definition at line 201 of file rldataacquisitionprovider.cpp.
int rlDataAcquisitionProvider::setWriteErrorCount | ( | int | count | ) |
Definition at line 293 of file rldataacquisitionprovider.cpp.
int rlDataAcquisitionProvider::shmStatus | ( | ) |
Definition at line 307 of file rldataacquisitionprovider.cpp.
const char * rlDataAcquisitionProvider::stringValue | ( | const char * | variable | ) |
Definition at line 147 of file rldataacquisitionprovider.cpp.
int rlDataAcquisitionProvider::writeErrorCount | ( | ) |
Definition at line 274 of file rldataacquisitionprovider.cpp.
|
private |
Definition at line 76 of file rldataacquisitionprovider.h.
|
private |
Definition at line 76 of file rldataacquisitionprovider.h.
|
private |
Definition at line 78 of file rldataacquisitionprovider.h.
|
private |
Definition at line 77 of file rldataacquisitionprovider.h.
|
private |
Definition at line 74 of file rldataacquisitionprovider.h.
|
private |
Definition at line 75 of file rldataacquisitionprovider.h.