OpenSplice ISO C++ 2 FACE API  v6.x
OpenSplice Future Airborne Capability Environment (FACE) ISO C++ 2 API
FACE_callback.h
Go to the documentation of this file.
1 /*
2  * Vortex OpenSplice
3  *
4  * This software and documentation are Copyright 2006 to 2021 ADLINK
5  * Technology Limited, its affiliated companies and licensors. All rights
6  * reserved.
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  */
21 #ifndef _FACE_CALLBACK_H_
22 #define _FACE_CALLBACK_H_
23 
24 #include "FACE_common.h"
25 #include "FACE_TS_common.h"
26 
27 namespace FACE
28 {
29  template <typename TYPE>
30  struct Read_Callback {
31  typedef void (*send_event)(
32  /* in */ const FACE::TRANSACTION_ID_TYPE transaction_id,
33  /* inout */ TYPE &message,
34  /* in */ const FACE::MESSAGE_TYPE_GUID message_type_id,
35  /* in */ const FACE::MESSAGE_SIZE_TYPE message_size,
36  /* in */ const FACE::WAITSET_TYPE waitset,
37  /* out */ FACE::RETURN_CODE_TYPE &return_code);
38  };
39 }
40 
41 #endif /* _FACE_CALLBACK_H_ */
RETURN_CODE_TYPE
Definition: FACE_common.h:54
int32_t MESSAGE_SIZE_TYPE
int64_t TRANSACTION_ID_TYPE
int64_t MESSAGE_TYPE_GUID
void(* send_event)(const FACE::TRANSACTION_ID_TYPE transaction_id, TYPE &message, const FACE::MESSAGE_TYPE_GUID message_type_id, const FACE::MESSAGE_SIZE_TYPE message_size, const FACE::WAITSET_TYPE waitset, FACE::RETURN_CODE_TYPE &return_code)
Definition: FACE_callback.h:31
dds::core::array< bool, 32 > WAITSET_TYPE