|
rllib
1
|
#include <rleibnetip.h>


Classes | |
| struct | EIB_TEL |
| struct | PDU |
Public Types | |
| enum | EIBnetIP { PORT = 3671, SUCCESS = 0, EIBERROR = 0x0ffffffff, TIMEOUT = -1, COULD_NOT_CONNECT = -2 } |
Public Member Functions | |
| rlEIBnetIP (int num_signals=1000, int debug=0, rlDataAcquisitionProvider *provider=NULL) | |
| virtual | ~rlEIBnetIP () |
| int | setServer (rlIpAdr *server) |
| int | setClient (rlIpAdr *client) |
| int | startReading () |
| int | stopReading () |
| int | value (const char *name) |
| unsigned int | valueUnsigned (const char *name) |
| float | valueFloat2 (const char *name) |
| float | valueFloat4 (const char *name) |
| int | setValue (const char *name, int val, int length=-1, int addi1=-1, int ctrl=-1, int apci=-1) |
| int | setValueUnsigned (const char *name, unsigned int val, int length=-1, int addi1=-1, int ctrl=-1, int apci=-1) |
| int | setValueFloat (const char *name, float val, int length=-1, int addi1=-1, int ctrl=-1, int apci=-1) |
| int | setText (const char *name, const char *text) |
| int | getText (const char *name, char *text, int maxlen) |
| int | setSourceAdr (const char *adr) |
| int | dump (FILE *fout) |
| int | setValuesFromCSV (const char *filename) |
| int | connect () |
| int | disconnect () |
| int | isConnected () |
| int | getDescription (PDU *pdu) |
| int | recv (void *buf, int maxlen) |
| int | storeBuffer (unsigned char *buf, int len) |
| int | sendDisconnectRequest () |
Public Member Functions inherited from rlUdpSocket | |
| rlUdpSocket (int debug=0) | |
| virtual | ~rlUdpSocket () |
| int | setSockopt (int opt) |
| int | setSockopt (int level, int optname, void *optval, int optlen) |
| int | bind (int port) |
| int | select (int timeout) |
| int | recvfrom (void *buf, int maxlen, rlIpAdr *source, int timeout=-1) |
| int | sendto (const void *buf, int len, rlIpAdr *dest) |
| int | printf (rlIpAdr *dest, const char *format,...) |
Public Attributes | |
| int | debug |
| int | watch_eib |
| void * | mem |
| int | memsize |
| int | running |
| int | channelid |
| rlThread | thread |
| rlIpAdr * | server |
| int | send_sequencecounter |
| int | tunnel_ack |
| rlDataAcquisitionProvider * | provider |
Public Attributes inherited from rlUdpSocket | |
| int | debug |
| int | readflag |
| int | writeflag |
Private Member Functions | |
| int | printTelegram (EIB_TEL *tel) |
| int | storeInProvider (EIB_TEL *tel) |
Private Attributes | |
| rlIpAdr | client |
| rlIpAdr | from |
| int | maxvalues |
| int | is_connected |
| short | saddr |
class for EIBnet/IP access
Definition at line 32 of file rleibnetip.h.
| enum rlEIBnetIP::EIBnetIP |
| Enumerator | |
|---|---|
| PORT | |
| SUCCESS | |
| EIBERROR | |
| TIMEOUT | |
| COULD_NOT_CONNECT | |
Definition at line 36 of file rleibnetip.h.
| rlEIBnetIP::rlEIBnetIP | ( | int | num_signals = 1000, |
| int | debug = 0, |
||
| rlDataAcquisitionProvider * | provider = NULL |
||
| ) |
Definition at line 164 of file rleibnetip.cpp.
|
virtual |
Definition at line 190 of file rleibnetip.cpp.
| int rlEIBnetIP::connect | ( | ) |
Definition at line 474 of file rleibnetip.cpp.
| int rlEIBnetIP::disconnect | ( | ) |
Definition at line 534 of file rleibnetip.cpp.
| int rlEIBnetIP::dump | ( | FILE * | fout | ) |
Definition at line 364 of file rleibnetip.cpp.
| int rlEIBnetIP::getDescription | ( | PDU * | pdu | ) |
Definition at line 1106 of file rleibnetip.cpp.
| int rlEIBnetIP::getText | ( | const char * | name, |
| char * | text, | ||
| int | maxlen | ||
| ) |
Definition at line 745 of file rleibnetip.cpp.
| int rlEIBnetIP::isConnected | ( | ) |
Definition at line 572 of file rleibnetip.cpp.
|
private |
Definition at line 287 of file rleibnetip.cpp.
| int rlEIBnetIP::recv | ( | void * | buf, |
| int | maxlen | ||
| ) |
Definition at line 1095 of file rleibnetip.cpp.
| int rlEIBnetIP::sendDisconnectRequest | ( | ) |
Definition at line 553 of file rleibnetip.cpp.
| int rlEIBnetIP::setClient | ( | rlIpAdr * | client | ) |
Definition at line 1078 of file rleibnetip.cpp.
| int rlEIBnetIP::setServer | ( | rlIpAdr * | server | ) |
Definition at line 1057 of file rleibnetip.cpp.
| int rlEIBnetIP::setSourceAdr | ( | const char * | adr | ) |
Definition at line 595 of file rleibnetip.cpp.
| int rlEIBnetIP::setText | ( | const char * | name, |
| const char * | text | ||
| ) |
Definition at line 790 of file rleibnetip.cpp.
| int rlEIBnetIP::setValue | ( | const char * | name, |
| int | val, | ||
| int | length = -1, |
||
| int | addi1 = -1, |
||
| int | ctrl = -1, |
||
| int | apci = -1 |
||
| ) |
Definition at line 612 of file rleibnetip.cpp.
| int rlEIBnetIP::setValueFloat | ( | const char * | name, |
| float | val, | ||
| int | length = -1, |
||
| int | addi1 = -1, |
||
| int | ctrl = -1, |
||
| int | apci = -1 |
||
| ) |
Definition at line 628 of file rleibnetip.cpp.
| int rlEIBnetIP::setValuesFromCSV | ( | const char * | filename | ) |
Definition at line 413 of file rleibnetip.cpp.
| int rlEIBnetIP::setValueUnsigned | ( | const char * | name, |
| unsigned int | val, | ||
| int | length = -1, |
||
| int | addi1 = -1, |
||
| int | ctrl = -1, |
||
| int | apci = -1 |
||
| ) |
Definition at line 894 of file rleibnetip.cpp.
| int rlEIBnetIP::startReading | ( | ) |
Definition at line 577 of file rleibnetip.cpp.
| int rlEIBnetIP::stopReading | ( | ) |
Definition at line 586 of file rleibnetip.cpp.
| int rlEIBnetIP::storeBuffer | ( | unsigned char * | buf, |
| int | len | ||
| ) |
Definition at line 201 of file rleibnetip.cpp.
|
private |
Definition at line 322 of file rleibnetip.cpp.
| int rlEIBnetIP::value | ( | const char * | name | ) |
Definition at line 619 of file rleibnetip.cpp.
| float rlEIBnetIP::valueFloat2 | ( | const char * | name | ) |
Definition at line 662 of file rleibnetip.cpp.
| float rlEIBnetIP::valueFloat4 | ( | const char * | name | ) |
Definition at line 676 of file rleibnetip.cpp.
| unsigned int rlEIBnetIP::valueUnsigned | ( | const char * | name | ) |
Definition at line 685 of file rleibnetip.cpp.
| int rlEIBnetIP::channelid |
Definition at line 104 of file rleibnetip.h.
|
private |
Definition at line 114 of file rleibnetip.h.
| int rlEIBnetIP::debug |
Definition at line 87 of file rleibnetip.h.
|
private |
Definition at line 115 of file rleibnetip.h.
|
private |
Definition at line 117 of file rleibnetip.h.
|
private |
Definition at line 116 of file rleibnetip.h.
| void* rlEIBnetIP::mem |
Definition at line 101 of file rleibnetip.h.
| int rlEIBnetIP::memsize |
Definition at line 102 of file rleibnetip.h.
| rlDataAcquisitionProvider* rlEIBnetIP::provider |
Definition at line 109 of file rleibnetip.h.
| int rlEIBnetIP::running |
Definition at line 103 of file rleibnetip.h.
|
private |
Definition at line 118 of file rleibnetip.h.
| int rlEIBnetIP::send_sequencecounter |
Definition at line 107 of file rleibnetip.h.
| rlIpAdr* rlEIBnetIP::server |
Definition at line 106 of file rleibnetip.h.
| rlThread rlEIBnetIP::thread |
Definition at line 105 of file rleibnetip.h.
| int rlEIBnetIP::tunnel_ack |
Definition at line 108 of file rleibnetip.h.
| int rlEIBnetIP::watch_eib |
Definition at line 88 of file rleibnetip.h.
1.8.14