S2OPC OPCUA Toolkit
|
#include "sopc_dataset_ll_layer.h"
#include "sopc_pubsub_conf.h"
#include "sopc_sub_target_variable.h"
#include "sopc_types.h"
Go to the source code of this file.
Typedefs | |
typedef struct _SOPC_SubTargetVariableConfig | SOPC_SubTargetVariableConfig |
typedef struct SOPC_TargetVariableCtx | SOPC_TargetVariableCtx |
typedef bool | SOPC_SetTargetVariables_Func(const OpcUa_WriteValue *nodesToWrite, const int32_t nbValues) |
The subscriber scheduler calls this callback cyclically to pass the values received by the subscriber. | |
Functions | |
SOPC_SubTargetVariableConfig * | SOPC_SubTargetVariableConfig_Create (SOPC_SetTargetVariables_Func *callback) |
void | SOPC_SubTargetVariableConfig_Delete (SOPC_SubTargetVariableConfig *targetConfig) |
bool | SOPC_SubTargetVariable_SetVariables (SOPC_SubTargetVariableConfig *targetConfig, SOPC_TargetVariableCtx *targetVariable, const SOPC_DataSetReader *reader, SOPC_Dataset_LL_DataSetMessage *dsm) |
SOPC_TargetVariableCtx * | SOPC_SubTargetVariable_TargetVariablesCtx_Create (const SOPC_DataSetReader *reader) |
Create and Initialize Target Variable context for the user to get target variables. | |
void | SOPC_SubTargetVariable_TargetVariableCtx_Delete (SOPC_TargetVariableCtx **subTargetVariable) |
typedef struct _SOPC_SubTargetVariableConfig SOPC_SubTargetVariableConfig |
typedef struct SOPC_TargetVariableCtx SOPC_TargetVariableCtx |
Data transfered by scheduler to user callback
typedef bool SOPC_SetTargetVariables_Func(const OpcUa_WriteValue *nodesToWrite, const int32_t nbValues) |
The subscriber scheduler calls this callback cyclically to pass the values received by the subscriber.
SOPC_SubTargetVariableConfig * SOPC_SubTargetVariableConfig_Create | ( | SOPC_SetTargetVariables_Func * | callback | ) |
void SOPC_SubTargetVariableConfig_Delete | ( | SOPC_SubTargetVariableConfig * | targetConfig | ) |
bool SOPC_SubTargetVariable_SetVariables | ( | SOPC_SubTargetVariableConfig * | targetConfig, |
SOPC_TargetVariableCtx * | targetVariable, | ||
const SOPC_DataSetReader * | reader, | ||
SOPC_Dataset_LL_DataSetMessage * | dsm ) |
SOPC_TargetVariableCtx * SOPC_SubTargetVariable_TargetVariablesCtx_Create | ( | const SOPC_DataSetReader * | reader | ) |
Create and Initialize Target Variable context for the user to get target variables.
reader | DataSetReader of the associated TargetVariable |
void SOPC_SubTargetVariable_TargetVariableCtx_Delete | ( | SOPC_TargetVariableCtx ** | subTargetVariable | ) |