libIEC61850
0.8.4
Open-source IEC 61850 MMS/GOOSE server and client library
|
Typedefs | |
typedef struct sControlObjectClient * | ControlObjectClient |
typedef void(* | CommandTerminationHandler )(void *parameter, ControlObjectClient controlClient) |
Private a callback handler that is invoked when a command termination message is received. More... | |
Enumerations | |
enum | ControlModel { CONTROL_MODEL_STATUS_ONLY, CONTROL_MODEL_DIRECT_NORMAL, CONTROL_MODEL_SBO_NORMAL, CONTROL_MODEL_DIRECT_ENHANCED, CONTROL_MODEL_SBO_ENHANCED } |
typedef void(* CommandTerminationHandler)(void *parameter, ControlObjectClient controlClient) |
Private a callback handler that is invoked when a command termination message is received.
This callback is invoked whenever a CommandTermination+ or CommandTermination- message is received. To distinguish between a CommandTermination+ and CommandTermination- please use the ControlObjectClient_getLastApplError function.
self | the ControlObjectClient instance |
handler | the callback function to be used |
handlerParameter | an arbitrary parameter that is passed to the handler |
typedef struct sControlObjectClient* ControlObjectClient |
enum ControlModel |
bool ControlObjectClient_cancel | ( | ControlObjectClient | self) |
ControlObjectClient ControlObjectClient_create | ( | const char * | objectReference, |
IedConnection | connection | ||
) |
Create a new client control object.
A client control object is used to handle all client side aspects of a controllable data object.
objectReference | the reference of the controllable data object |
connection | the connection instance where the control object has to be reached |
void ControlObjectClient_destroy | ( | ControlObjectClient | self) |
void ControlObjectClient_enableInterlockCheck | ( | ControlObjectClient | self) |
void ControlObjectClient_enableSynchroCheck | ( | ControlObjectClient | self) |
ControlModel ControlObjectClient_getControlModel | ( | ControlObjectClient | self) |
LastApplError ControlObjectClient_getLastApplError | ( | ControlObjectClient | self) |
char* ControlObjectClient_getObjectReference | ( | ControlObjectClient | self) |
bool ControlObjectClient_operate | ( | ControlObjectClient | self, |
MmsValue * | ctlVal, | ||
uint64_t | operTime | ||
) |
bool ControlObjectClient_select | ( | ControlObjectClient | self) |
bool ControlObjectClient_selectWithValue | ( | ControlObjectClient | self, |
MmsValue * | ctlVal | ||
) |
void ControlObjectClient_setCommandTerminationHandler | ( | ControlObjectClient | self, |
CommandTerminationHandler | handler, | ||
void * | handlerParameter | ||
) |
void ControlObjectClient_setLastApplError | ( | ControlObjectClient | self, |
LastApplError | lastAppIError | ||
) |
void ControlObjectClient_setOrigin | ( | ControlObjectClient | self, |
const char * | orIdent, | ||
int | orCat | ||
) |
void ControlObjectClient_setTestMode | ( | ControlObjectClient | self) |