Functions | |
IFMETHODIMP() | UaProvider_Sample_ReadAsync (UaServer_ProviderReadContext *a_pReadCtx) |
Reads asynchronously. | |
IFMETHODIMP() | UaProvider_Sample_WriteAsync (UaServer_ProviderWriteContext *a_pWriteCtx) |
Writes asynchronously. | |
IFMETHODIMP() | UaProvider_Sample_BrowseAsync (UaServer_ProviderBrowseContext *a_pBrowseCtx) |
An asynchronous Browse call. | |
IFMETHODIMP() | UaProvider_Sample_TranslateAsync (UaServer_ProviderTranslateContext *a_pTranslateCtx) |
An asynchronous Translate call. | |
IFMETHODIMP() | UaProvider_Sample_RegisterNodesAsync (UaServer_ProviderRegisterNodesContext *a_pRegisterNodesCtx) |
An asynchronous RegisterNodes call. | |
IFMETHODIMP() | UaProvider_Sample_UnregisterNodesAsync (UaServer_ProviderUnregisterNodesContext *a_pUnregisterNodesCtx) |
An asynchronous UnregisterNodes call. | |
IFMETHODIMP() | UaProvider_Sample_AddItem (UaServer_MonitoredItem *a_pItem) |
Add an item. | |
IFMETHODIMP() | UaProvider_Sample_RemoveItem (UaServer_MonitoredItem *a_pItem) |
Remove an item. | |
IFMETHODIMP() | UaProvider_Sample_Subscribe (UaServer_ProviderSubscribeContext *a_pCtx) |
ToDoDoc. | |
IFMETHODIMP() | UaProvider_Sample_DynamicVarUpdate (OpcUa_Void *a_pvCallbackData, OpcUa_Timer a_hTimer, OpcUa_UInt32 a_msecElapsed) |
This function refreshes all dynamic Variables. | |
IFMETHODIMP() | UaProvider_Sample_DynamicVarUpdateStopped (OpcUa_Void *a_pvCallbackData, OpcUa_Timer a_hTimer, OpcUa_UInt32 a_msecElapsed) |
This function stops the update of all dynamic Variables. | |
void | UaProvider_Sample_Subscription_Initialize () |
Initializes the sample subscription. | |
void | UaProvider_Sample_Subscription_Cleanup () |
Cleans up the subscription. | |
IFMETHODIMP() | UaProvider_Sample_Cleanup (OpcUa_Void) |
Clean up the sample provider. | |
IFMETHODIMP() | UaProvider_Sample_Initialize (UaServer_Provider *a_pProvider, UaServer_pProviderCBInterface *a_pProviderCBInterface, UaServer_pProviderInterface *a_pProviderInterface) |
Initialization Function Called By The Server. | |
Variables | |
OpcUa_UInt16 | g_UaProviderSample_uNamespaceIndex = 0 |
This is the basenode managed by the server. |
IFMETHODIMP() UaProvider_Sample_AddItem | ( | UaServer_MonitoredItem * | a_pItem | ) |
Add an item.
a_pItem | a pointer to the structure of a monitored item. |
IFMETHODIMP() UaProvider_Sample_BrowseAsync | ( | UaServer_ProviderBrowseContext * | a_pBrowseCtx | ) |
An asynchronous Browse call.
a_pBrowseCtx | the needed BrowseContext. |
IFMETHODIMP() UaProvider_Sample_Cleanup | ( | OpcUa_Void | ) |
Clean up the sample provider.
IFMETHODIMP() UaProvider_Sample_DynamicVarUpdate | ( | OpcUa_Void * | a_pvCallbackData, | |
OpcUa_Timer | a_hTimer, | |||
OpcUa_UInt32 | a_msecElapsed | |||
) |
This function refreshes all dynamic Variables.
a_pvCallbackData | the actual callback data. | |
a_hTimer | the value of the timer. | |
a_msecElapsed | the elapsed msec for this operation. |
IFMETHODIMP() UaProvider_Sample_DynamicVarUpdateStopped | ( | OpcUa_Void * | a_pvCallbackData, | |
OpcUa_Timer | a_hTimer, | |||
OpcUa_UInt32 | a_msecElapsed | |||
) |
This function stops the update of all dynamic Variables.
a_pvCallbackData | the actual callback data. | |
a_hTimer | the value of the timer. | |
a_msecElapsed | the elapsed msec for this operation. |
IFMETHODIMP() UaProvider_Sample_Initialize | ( | UaServer_Provider * | a_pProvider, | |
UaServer_pProviderCBInterface * | a_pProviderCBInterface, | |||
UaServer_pProviderInterface * | a_pProviderInterface | |||
) |
Initialization Function Called By The Server.
a_pProvider | a pointer to the provider structure. | |
a_pProviderCBInterface | a pointer to the callback interface of the provider interface. | |
a_pProviderInterface | a pointer to the provider interface |
IFMETHODIMP() UaProvider_Sample_ReadAsync | ( | UaServer_ProviderReadContext * | a_pReadCtx | ) |
Reads asynchronously.
a_pReadCtx | the needed ReadContext. |
IFMETHODIMP() UaProvider_Sample_RegisterNodesAsync | ( | UaServer_ProviderRegisterNodesContext * | a_pRegisterNodesCtx | ) |
An asynchronous RegisterNodes call.
a_pRegisterNodesCtx | the needed RegisterNodesContext. |
IFMETHODIMP() UaProvider_Sample_RemoveItem | ( | UaServer_MonitoredItem * | a_pItem | ) |
Remove an item.
a_pItem | a pointer to the structure of a monitored item. |
IFMETHODIMP() UaProvider_Sample_Subscribe | ( | UaServer_ProviderSubscribeContext * | a_pCtx | ) |
ToDoDoc.
a_pCtx | a pointer to the provider subscription context. |
void UaProvider_Sample_Subscription_Cleanup | ( | ) |
Cleans up the subscription.
void UaProvider_Sample_Subscription_Initialize | ( | ) |
Initializes the sample subscription.
IFMETHODIMP() UaProvider_Sample_TranslateAsync | ( | UaServer_ProviderTranslateContext * | a_pTranslateCtx | ) |
An asynchronous Translate call.
a_pTranslateCtx | the needed TranslateContext. |
IFMETHODIMP() UaProvider_Sample_UnregisterNodesAsync | ( | UaServer_ProviderUnregisterNodesContext * | a_pUnregisterNodesCtx | ) |
An asynchronous UnregisterNodes call.
a_pUnregisterNodesCtx | the needed UnregisterNodesContext. |
IFMETHODIMP() UaProvider_Sample_WriteAsync | ( | UaServer_ProviderWriteContext * | a_pWriteCtx | ) |
Writes asynchronously.
a_pWriteCtx | a pointer to the writecontext. |
OpcUa_UInt16 g_UaProviderSample_uNamespaceIndex = 0 |
This is the basenode managed by the server.