S2OPC OPCUA Toolkit
Data Fields
SOPC_MethodCallManager Struct Reference

The SOPC_MethodCallManager object defines the common interface for the method manager. More...

#include <sopc_call_method_manager.h>

Data Fields

SOPC_MethodCallManager_Free_Func *const pFnFree
 The free function, called upon generic SOPC_MethodCallManager destruction. More...
 
SOPC_MethodCallManager_Get_Func *const pFnGetMethod
 Function to get a function pointer corresponding to an object Method of the Address Space. More...
 
void * pUserData
 internal data of the manager. More...
 

Detailed Description

The SOPC_MethodCallManager object defines the common interface for the method manager.

The ownership of the output data of functions moved to S2OPC toolkit

User can use the SOPC toolkit basic implementation of this interface by calling SOPC_MethodCallManager_Create and SOPC_MethodCallManager_AddMethod functions. User can implement its own SOPC_MethodCallManager_Get_Func and pUserData for specific uses.

Field Documentation

◆ pFnFree

SOPC_MethodCallManager_Free_Func* const SOPC_MethodCallManager::pFnFree

The free function, called upon generic SOPC_MethodCallManager destruction.

Parameters
mcma valid pointer to the SOPC_MethodCallManager.

◆ pFnGetMethod

SOPC_MethodCallManager_Get_Func* const SOPC_MethodCallManager::pFnGetMethod

Function to get a function pointer corresponding to an object Method of the Address Space.

Parameters
mcma valid pointer to a SOPC_MethodCallManager.
methodIda valid pointer to the SOPC_NodeId of a method.
Returns
a valid function pointer (SOPC_MethodCallManager_Free_Func) or NULL if there is no implementation for the given methodId.

◆ pUserData

void* SOPC_MethodCallManager::pUserData

internal data of the manager.


The documentation for this struct was generated from the following file: