rllib
1
|
#include <rlplc.h>
Public Member Functions | |
rlPlcState (int numInt=100, int numFloat=100, int numDouble=0, const char *shared_memory=NULL) | |
virtual | ~rlPlcState () |
void | clear () |
void | rememberState () |
int | intChanged (int index) |
int | floatChanged (int index) |
int | doubleChanged (int index) |
int | intHasIncreased (int index) |
int | floatHasIncreased (int index) |
int | doubleHasIncreased (int index) |
int | intHasDecreased (int index) |
int | floatHasDecreased (int index) |
int | doubleHasDecreased (int index) |
int | deltaInt (int index) |
float | deltaFloat (int index) |
double | deltaDouble (int index) |
void | set (int index, int bit) |
void | clear (int index, int bit) |
int | isSet (int index, int bit) |
int | isClear (int index, int bit) |
int | hasBeenSet (int index, int bit) |
int | hasBeenCleared (int index, int bit) |
int | maxInt () |
int | maxFloat () |
int | maxDouble () |
int | getInt (int index) |
float | getFloat (int index) |
double | getDouble (int index) |
int | getOldInt (int index) |
float | getOldFloat (int index) |
double | getOldDouble (int index) |
Public Attributes | |
int * | i |
int * | i_old |
float * | f |
float * | f_old |
double * | d |
double * | d_old |
rlSharedMemory * | shm |
Private Attributes | |
int | max_int |
int | max_float |
int | max_double |
rlPlcState::rlPlcState | ( | int | numInt = 100 , |
int | numFloat = 100 , |
||
int | numDouble = 0 , |
||
const char * | shared_memory = NULL |
||
) |
Definition at line 19 of file rlplc.cpp.
int rlPlcState::maxDouble | ( | ) |
int rlPlcState::maxFloat | ( | ) |
int rlPlcState::maxInt | ( | ) |
rlSharedMemory* rlPlcState::shm |