|
rllib
1
|
#include <rlopcxmlda.h>

Classes | |
| struct | SHM_HEADER |
Public Types | |
| enum | OPC_XML_DA_ENUM { OPCXMLDA_ERROR = 256*256*128 } |
Public Member Functions | |
| rlOpcXmlDa (const char *mailbox="c:\utomation\bx\pcxmlda.mbx", const char *shared_memory="c:\utomation\hm\pcxmlda.shm", long shared_memory_size=65536) | |
| virtual | ~rlOpcXmlDa () |
| 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 | shmStatus () |
Private Attributes | |
| SHM_HEADER * | shmheader |
| const char * | shmvalues |
| rlMailbox * | mbx |
| rlSharedMemory * | shm |
use this class together with opcxmlda_client. opcxmlda_client will fill the shared memory with variables read over opc xml-da. opcxmlda_client will receive outgoing writes through it's mailbox.
This class is for data acquisition within pvserver according to the pvbrowser principle. It communicates with the daemon opcxmlda_client by the means of a shared memory and a mailbox.
Definition at line 33 of file rlopcxmlda.h.
| Enumerator | |
|---|---|
| OPCXMLDA_ERROR | |
Definition at line 49 of file rlopcxmlda.h.
| rlOpcXmlDa::rlOpcXmlDa | ( | const char * | mailbox = "c:\\automation\\mbx\\opcxmlda.mbx", |
| const char * | shared_memory = "c:\\automation\\shm\\opcxmlda.shm", |
||
| long | shared_memory_size = 65536 |
||
| ) |
Definition at line 21 of file rlopcxmlda.cpp.
|
virtual |
Definition at line 29 of file rlopcxmlda.cpp.
| float rlOpcXmlDa::floatValue | ( | const char * | variable | ) |
Definition at line 74 of file rlopcxmlda.cpp.
| int rlOpcXmlDa::intValue | ( | const char * | variable | ) |
Definition at line 59 of file rlopcxmlda.cpp.
| int rlOpcXmlDa::readErrorCount | ( | ) |
Definition at line 107 of file rlopcxmlda.cpp.
| int rlOpcXmlDa::shmStatus | ( | ) |
Definition at line 119 of file rlopcxmlda.cpp.
| const char * rlOpcXmlDa::stringValue | ( | const char * | variable | ) |
Definition at line 35 of file rlopcxmlda.cpp.
| int rlOpcXmlDa::writeErrorCount | ( | ) |
Definition at line 113 of file rlopcxmlda.cpp.
| int rlOpcXmlDa::writeFloatValue | ( | const char * | variable, |
| float | value | ||
| ) |
Definition at line 101 of file rlopcxmlda.cpp.
| int rlOpcXmlDa::writeIntValue | ( | const char * | variable, |
| int | value | ||
| ) |
Definition at line 95 of file rlopcxmlda.cpp.
| int rlOpcXmlDa::writeStringValue | ( | const char * | variable, |
| const char * | value | ||
| ) |
Definition at line 89 of file rlopcxmlda.cpp.
|
private |
Definition at line 73 of file rlopcxmlda.h.
|
private |
Definition at line 74 of file rlopcxmlda.h.
|
private |
Definition at line 71 of file rlopcxmlda.h.
|
private |
Definition at line 72 of file rlopcxmlda.h.
1.8.14