Apama  9.10.0.4.289795
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sag_connectivity_c.h
Go to the documentation of this file.
1 /*
2  * Title: sag_connectivity_c.h
3  * Description: C-ABI data_t type
4  * $Copyright (c) 2015-2016 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.$
5  * Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG
6  * @Version: $Id: sag_connectivity_c.h 273763 2016-01-22 12:27:42Z shd $
7  */
8 
16 #ifndef _CMESSAGEDATA_H_
17 #define _CMESSAGEDATA_H_
18 
19 #include <stdbool.h>
20 #include <stdint.h>
21 
22 #include <sag_internal/c_macros.hpp>
23 
24 /*
25  * C-ABI for SAG connectivity plugins. This should not be used directly.
26  * Instead use the C++ API in sag_connectivity_cpp.hpp.
27  */
28 #ifdef __cplusplus
29 extern "C" {
30 #endif // __cplusplus
31 
34 {
45 };
46 typedef enum sag_data_tag sag_data_tag;
47 
50 {
55 };
56 typedef enum sag_error_t sag_error_t;
57 
60 {
68 };
69 typedef enum sag_log_level_t sag_log_level_t;
70 
75 {
76  uint64_t d;
77 };
79 
80 #include <sag_internal/c_types.hpp>
81 
82 #include <sag_internal/c_functions.hpp>
83 
84 #ifdef __cplusplus
85 } // extern "C"
86 #endif // __cplusplus
87 
88 #endif //_CMESSAGEDATA_H_
sag_data_tag
A descriminator for the content of the data_t union.
Definition: sag_connectivity_c.h:33
Fatal errors.
Definition: sag_connectivity_c.h:62
byte-array (8-bit signed int)
Definition: sag_connectivity_c.h:43
Trace.
Definition: sag_connectivity_c.h:67
list of data
Definition: sag_connectivity_c.h:41
Debug messages.
Definition: sag_connectivity_c.h:66
Critical log messages.
Definition: sag_connectivity_c.h:61
Unknown state.
Definition: sag_connectivity_c.h:54
sag_log_level_t
Log levels for logging to the system log.
Definition: sag_connectivity_c.h:59
Non-fatal errors.
Definition: sag_connectivity_c.h:63
sag_error_t
Indicates error states returned from methods.
Definition: sag_connectivity_c.h:49
64-bit signed int
Definition: sag_connectivity_c.h:38
Informational messages (default)
Definition: sag_connectivity_c.h:65
64-bit IEEE-754 decimal
Definition: sag_connectivity_c.h:39
map of data:data
Definition: sag_connectivity_c.h:42
No error.
Definition: sag_connectivity_c.h:51
An exception was thrown.
Definition: sag_connectivity_c.h:52
uint64_t d
The IEEE-754 data.
Definition: sag_connectivity_c.h:76
Decimals are implemented with an underlying 64bit int conforming to IEEE 754 decimal 64...
Definition: sag_connectivity_c.h:74
a void* + deleter and copy function pointers
Definition: sag_connectivity_c.h:44
Bool.
Definition: sag_connectivity_c.h:36
utf8-encoded const char*
Definition: sag_connectivity_c.h:40
64-bit float
Definition: sag_connectivity_c.h:37
Empty.
Definition: sag_connectivity_c.h:35
Warnings.
Definition: sag_connectivity_c.h:64
Other failure condition.
Definition: sag_connectivity_c.h:53