S2OPC OPCUA Toolkit
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 
31 void SOPC_App_Clear(void);
32 
33 SOPC_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
sopc_appEventCallback
SOPC_ComEvent_Fct * sopc_appEventCallback
sopc_appAddressSpaceNotificationCallback
SOPC_AddressSpaceNotif_Fct * sopc_appAddressSpaceNotificationCallback
SOPC_App_Initialize
void SOPC_App_Initialize(void)
sopc_event_handler.h
SOPC_Looper
struct _SOPC_Looper SOPC_Looper
Manages the processing of events on a given thread.
Definition: sopc_event_handler.h:43
SOPC_AddressSpaceNotif_Fct
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:471
sopc_user_app_itf.h
Contains the types to be used by the user application to use the Toolkit.
SOPC_App_Com_Event
SOPC_App_Com_Event
Client and Server communication events to be managed by applicative code.
Definition: sopc_user_app_itf.h:381
SOPC_App_Clear
void SOPC_App_Clear(void)
SOPC_App_EnqueueAddressSpaceNotification
SOPC_ReturnStatus SOPC_App_EnqueueAddressSpaceNotification(SOPC_App_AddSpace_Event event, uint32_t id, uintptr_t params, uintptr_t auxParam)
SOPC_ComEvent_Fct
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:466
SOPC_App_EnqueueComEvent
SOPC_ReturnStatus SOPC_App_EnqueueComEvent(SOPC_App_Com_Event event, uint32_t id, uintptr_t params, uintptr_t auxParam)
SOPC_App_GetLooper
SOPC_Looper * SOPC_App_GetLooper(void)
SOPC_App_AddSpace_Event
SOPC_App_AddSpace_Event
Server address space access/modification notifications to applicative code.
Definition: sopc_user_app_itf.h:454
SOPC_ReturnStatus
SOPC_ReturnStatus
Definition: libs2opc_client.h:64