26#ifndef SOPC_EVENT_MANAGER_H_
27#define SOPC_EVENT_MANAGER_H_
146 const char* qnPathStr,
struct _SOPC_AddressSpace SOPC_AddressSpace
Definition sopc_address_space.h:68
struct _SOPC_Dict SOPC_Dict
Definition sopc_dict.h:32
enum _SOPC_ReturnStatus SOPC_ReturnStatus
Common enumerations for S2OPC.
Interface to manipulate and customize OPC UA event instances.
struct _SOPC_Event SOPC_Event
The abstract structure type for an OpcUa event instance that might be triggered from nodes.
Definition sopc_event.h:46
SOPC_Event * SOPC_EventManager_CreateEventInstance(const SOPC_Server_Event_Types *eventTypes, const SOPC_NodeId *eventTypeId)
Creates an event instance based on the given reference event types. The EventId value is set to a uni...
SOPC_ReturnStatus SOPC_EventManagerUtil_cStringPathToQnPath(char qnPathSep, const char *qnPathStr, int32_t *nbQnPath, SOPC_QualifiedName **qNamePath)
Utility function to parse a C string version of a browse path composed of qualified names and separat...
bool SOPC_EventManager_HasEventType(const SOPC_Server_Event_Types *eventTypes, const SOPC_NodeId *eventTypeId)
Checks if the given event type id is configured in the server event types provided.
SOPC_ReturnStatus SOPC_EventManagerUtil_QnPathToCString(uint16_t nbQnPath, const SOPC_QualifiedName *qNamePath, char **qnPathStr)
Utility function to generate a C string version of a browse path composed of qualified names and sepa...
void SOPC_EventManager_Delete(SOPC_Server_Event_Types **eventTypes)
Clears the given event types content, the pointed configuration is deallocated and pointer is set to ...
SOPC_Dict SOPC_Server_Event_Types
OPC UA server events types configuration.
Definition sopc_event_manager.h:35
SOPC_ReturnStatus SOPC_EventManager_CreateEventTypes(SOPC_AddressSpace *addSpace, SOPC_Server_Event_Types **outEventTypes)
Creates the server event types based on given server address space. The BaseEventType is used to find...
SOPC_ReturnStatus SOPC_EventManager_HasEventTypeAndBrowsePath(const SOPC_Server_Event_Types *eventTypes, const SOPC_NodeId *eventTypeId, int32_t nbQNamePath, const SOPC_QualifiedName *qNamePath)
Checks both if the given event type id is configured in the server event types and if the associated ...
This structure describes a basic NodeID in OPC UA.
Definition sopc_builtintypes.h:189
Definition sopc_builtintypes.h:228