S2OPC OPCUA Toolkit
Loading...
Searching...
No Matches
util_event.h
Go to the documentation of this file.
1/*
2 * Licensed to Systerel under one or more contributor license
3 * agreements. See the NOTICE file distributed with this work
4 * for additional information regarding copyright ownership.
5 * Systerel licenses this file to you under the Apache
6 * License, Version 2.0 (the "License"); you may not use this
7 * file except in compliance with the License. You may obtain
8 * a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
25#ifndef UTIL_EVENT_H_
26#define UTIL_EVENT_H_
27
28#include "constants.h"
30#include "sopc_types.h"
31
33
35
36bool util_event__alloc_event_field_list(uint32_t clientHandle,
37 int32_t nbSelectClauses,
38 OpcUa_EventFieldList** ppEventFieldList);
39
40void util_event__set_event_field_list_elt(char** preferredLocalesIds,
41 const constants__t_TimestampsToReturn_i timestampToReturn,
42 bool userAccessGranted,
43 int32_t selectClauseIdx,
45 const SOPC_Event* pEvent,
46 OpcUa_EventFieldList* pEventFieldList);
47
49 uint32_t clientHandle,
50 char** preferredLocalesIds,
51 const constants__t_TimestampsToReturn_i timestampToReturn,
52 bool userAccessGranted,
53 const SOPC_Event* pEvent,
54 OpcUa_EventFieldList** ppEventFieldList);
55
57 uint32_t clientHandle,
58 OpcUa_EventFieldList** ppEventFieldList);
59
60#endif /* UTIL_EVENT_H_ */
constants__t_TimestampsToReturn_i
Definition constants.h:186
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_Dict SOPC_Server_Event_Types
OPC UA server events types configuration.
Definition sopc_event_manager.h:35
uint32_t SOPC_EndpointConfigIdx
Index type for server endpoint configuration, 0 is an invalid index.
Definition sopc_toolkit_config.h:124
Definition monitored_item_pointer_impl.h:27
Definition sopc_types.h:6092
void util_event__set_event_field_list_elt(char **preferredLocalesIds, const constants__t_TimestampsToReturn_i timestampToReturn, bool userAccessGranted, int32_t selectClauseIdx, const SOPC_InternalMonitoredItemFilterCtx *pFilterCtx, const SOPC_Event *pEvent, OpcUa_EventFieldList *pEventFieldList)
const SOPC_Server_Event_Types * initEventTypes
bool util_event__alloc_and_fill_event_field_list(const SOPC_InternalMonitoredItemFilterCtx *pFilterCtx, uint32_t clientHandle, char **preferredLocalesIds, const constants__t_TimestampsToReturn_i timestampToReturn, bool userAccessGranted, const SOPC_Event *pEvent, OpcUa_EventFieldList **ppEventFieldList)
bool init_event_types(SOPC_EndpointConfigIdx epIdx)
bool util_event__gen_event_queue_overflow_notification(const SOPC_InternalMonitoredItemFilterCtx *pFilterCtx, uint32_t clientHandle, OpcUa_EventFieldList **ppEventFieldList)
bool util_event__alloc_event_field_list(uint32_t clientHandle, int32_t nbSelectClauses, OpcUa_EventFieldList **ppEventFieldList)