S2OPC OPCUA Toolkit
Loading...
Searching...
No Matches
sopc_internal_app_dispatcher.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
20#ifndef SOPC_INTERNAL_APP_DISPATCHER_H
21#define SOPC_INTERNAL_APP_DISPATCHER_H
22
23#include "sopc_event_handler.h"
24#include "sopc_user_app_itf.h"
25
28
31void SOPC_App_Clear(void);
32
33SOPC_ReturnStatus SOPC_App_EnqueueComEvent(SOPC_App_Com_Event event, uint32_t id, uintptr_t params, uintptr_t auxParam);
35 uint32_t id,
36 uintptr_t params,
37 uintptr_t auxParam);
38
39#endif // SOPC_INTERNAL_APP_DISPATCHER_H
enum _SOPC_ReturnStatus SOPC_ReturnStatus
Common enumerations for S2OPC.
struct _SOPC_Looper SOPC_Looper
Manages the processing of events on a given thread.
Definition sopc_event_handler.h:43
SOPC_Looper * SOPC_App_GetLooper(void)
SOPC_ReturnStatus SOPC_App_EnqueueComEvent(SOPC_App_Com_Event event, uint32_t id, uintptr_t params, uintptr_t auxParam)
SOPC_ReturnStatus SOPC_App_EnqueueAddressSpaceNotification(SOPC_App_AddSpace_Event event, uint32_t id, uintptr_t params, uintptr_t auxParam)
SOPC_AddressSpaceNotif_Fct * sopc_appAddressSpaceNotificationCallback
void SOPC_App_Initialize(void)
void SOPC_App_Clear(void)
SOPC_ComEvent_Fct * sopc_appEventCallback
Contains the types to be used by the user application to use the Toolkit.
void SOPC_ComEvent_Fct(SOPC_App_Com_Event event, uint32_t IdOrStatus, void *param, uintptr_t appContext)
Toolkit communication events application callback type.
Definition sopc_user_app_itf.h:471
enum _SOPC_App_AddSpace_Event SOPC_App_AddSpace_Event
Server address space access/modification notifications to applicative code.
void SOPC_AddressSpaceNotif_Fct(const SOPC_CallContext *callCtxPtr, SOPC_App_AddSpace_Event event, void *opParam, SOPC_StatusCode opStatus)
Toolkit address space notification events callback type.
Definition sopc_user_app_itf.h:476
enum _SOPC_App_Com_Event SOPC_App_Com_Event
Client and Server communication events to be managed by applicative code.