Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_lmdb_runtime_object_maps.c
Go to the documentation of this file.
1 // See the 'COPYING' file in the project root for licensing information.
2 /*
3  * Adaptive Framework Runtime Object Mapping
4  *
5  * Copyright (c) 2010-2023 Clemson University
6  *
7  */
8 
9 /* ----------------------------- N O T E -------------------------------------
10  *
11  * This file is generated by "afwdev generate afw_lmdb".
12  *
13  * Do not change this file directly or the changes will be lost the next time
14  * this file is regenerated.
15  *
16  * -------------------------------------------------------------------------*/
17 
18 
19 
25 #include "afw.h"
26 #include "afw_lmdb_generated.h"
27 
28 
29 
30 /* Runtime object map properties for _AdaptiveAdaptorMetrics_adaptor_lmdb objects. */
31 
33 impl_runtime_meta__AdaptiveAdaptorMetrics_adaptor_lmdb = {
34  &afw_lmdb_s__AdaptiveAdaptorMetrics_adaptor_lmdb,
35  NULL,
37  false,
38 };
39 
40 AFW_RUNTIME_OBJECT_RTI(
41  impl_runtime_rti__AdaptiveAdaptorMetrics_adaptor_lmdb,
42  impl_runtime_meta__AdaptiveAdaptorMetrics_adaptor_lmdb);
43 
44 
45 /* Runtime object map properties for _AdaptiveAdaptorMetrics_adaptor_lmdb_information objects. */
46 
48 impl_runtime_meta__AdaptiveAdaptorMetrics_adaptor_lmdb_information = {
49  &afw_lmdb_s__AdaptiveAdaptorMetrics_adaptor_lmdb_information,
50  NULL,
52  false,
53 };
54 
55 AFW_RUNTIME_OBJECT_RTI(
56  impl_runtime_rti__AdaptiveAdaptorMetrics_adaptor_lmdb_information,
57  impl_runtime_meta__AdaptiveAdaptorMetrics_adaptor_lmdb_information);
58 
59 
60 /* Runtime object map properties for _AdaptiveAdaptorMetrics_adaptor_lmdb_statistic objects. */
61 
63 impl_runtime_meta__AdaptiveAdaptorMetrics_adaptor_lmdb_statistic = {
64  &afw_lmdb_s__AdaptiveAdaptorMetrics_adaptor_lmdb_statistic,
65  NULL,
67  false,
68 };
69 
70 AFW_RUNTIME_OBJECT_RTI(
71  impl_runtime_rti__AdaptiveAdaptorMetrics_adaptor_lmdb_statistic,
72  impl_runtime_meta__AdaptiveAdaptorMetrics_adaptor_lmdb_statistic);
73 
74 
75 /* Runtime object map properties for _AdaptiveAdaptorMetrics_adaptor_lmdb_statistics objects. */
76 
78 impl_runtime_meta__AdaptiveAdaptorMetrics_adaptor_lmdb_statistics = {
79  &afw_lmdb_s__AdaptiveAdaptorMetrics_adaptor_lmdb_statistics,
80  NULL,
82  false,
83 };
84 
85 AFW_RUNTIME_OBJECT_RTI(
86  impl_runtime_rti__AdaptiveAdaptorMetrics_adaptor_lmdb_statistics,
87  impl_runtime_meta__AdaptiveAdaptorMetrics_adaptor_lmdb_statistics);
88 
89 
90 /* Runtime object map properties for _AdaptiveAdaptorMetrics_adaptor_lmdb_version objects. */
91 
93 impl_runtime_meta__AdaptiveAdaptorMetrics_adaptor_lmdb_version = {
94  &afw_lmdb_s__AdaptiveAdaptorMetrics_adaptor_lmdb_version,
95  NULL,
97  false,
98 };
99 
100 AFW_RUNTIME_OBJECT_RTI(
101  impl_runtime_rti__AdaptiveAdaptorMetrics_adaptor_lmdb_version,
102  impl_runtime_meta__AdaptiveAdaptorMetrics_adaptor_lmdb_version);
103 
104 
105 /* Runtime object map properties for _AdaptiveConf_adaptor_lmdb objects. */
106 
108 impl_runtime_meta__AdaptiveConf_adaptor_lmdb = {
109  &afw_lmdb_s__AdaptiveConf_adaptor_lmdb,
110  NULL,
112  false,
113 };
114 
115 AFW_RUNTIME_OBJECT_RTI(
116  impl_runtime_rti__AdaptiveConf_adaptor_lmdb,
117  impl_runtime_meta__AdaptiveConf_adaptor_lmdb);
118 
119 
120 /* Runtime object map properties for _AdaptiveConf_adaptor_lmdb_env objects. */
121 
123 impl_runtime_meta__AdaptiveConf_adaptor_lmdb_env = {
124  &afw_lmdb_s__AdaptiveConf_adaptor_lmdb_env,
125  NULL,
127  false,
128 };
129 
130 AFW_RUNTIME_OBJECT_RTI(
131  impl_runtime_rti__AdaptiveConf_adaptor_lmdb_env,
132  impl_runtime_meta__AdaptiveConf_adaptor_lmdb_env);
133 
134 
135 /* Runtime object map properties for _AdaptiveConf_adaptor_lmdb_limits objects. */
136 
138 impl_runtime_meta__AdaptiveConf_adaptor_lmdb_limits = {
139  &afw_lmdb_s__AdaptiveConf_adaptor_lmdb_limits,
140  NULL,
142  false,
143 };
144 
145 AFW_RUNTIME_OBJECT_RTI(
146  impl_runtime_rti__AdaptiveConf_adaptor_lmdb_limits,
147  impl_runtime_meta__AdaptiveConf_adaptor_lmdb_limits);
148 
149 
150 /* Runtime object map properties for _AdaptiveConf_adaptor_lmdb_limits_size objects. */
151 
153 impl_runtime_meta__AdaptiveConf_adaptor_lmdb_limits_size = {
154  &afw_lmdb_s__AdaptiveConf_adaptor_lmdb_limits_size,
155  NULL,
157  false,
158 };
159 
160 AFW_RUNTIME_OBJECT_RTI(
161  impl_runtime_rti__AdaptiveConf_adaptor_lmdb_limits_size,
162  impl_runtime_meta__AdaptiveConf_adaptor_lmdb_limits_size);
163 
164 
165 /* Runtime object map properties for _AdaptiveConf_adaptor_lmdb_limits_time objects. */
166 
168 impl_runtime_meta__AdaptiveConf_adaptor_lmdb_limits_time = {
169  &afw_lmdb_s__AdaptiveConf_adaptor_lmdb_limits_time,
170  NULL,
172  false,
173 };
174 
175 AFW_RUNTIME_OBJECT_RTI(
176  impl_runtime_rti__AdaptiveConf_adaptor_lmdb_limits_time,
177  impl_runtime_meta__AdaptiveConf_adaptor_lmdb_limits_time);
178 
179 /* NULL terminated list of rti pointers. */
180 static const afw_interface_implementation_rti_t * impl_rti[] = {
181  &impl_runtime_rti__AdaptiveAdaptorMetrics_adaptor_lmdb,
182  &impl_runtime_rti__AdaptiveAdaptorMetrics_adaptor_lmdb_information,
183  &impl_runtime_rti__AdaptiveAdaptorMetrics_adaptor_lmdb_statistic,
184  &impl_runtime_rti__AdaptiveAdaptorMetrics_adaptor_lmdb_statistics,
185  &impl_runtime_rti__AdaptiveAdaptorMetrics_adaptor_lmdb_version,
186  &impl_runtime_rti__AdaptiveConf_adaptor_lmdb,
187  &impl_runtime_rti__AdaptiveConf_adaptor_lmdb_env,
188  &impl_runtime_rti__AdaptiveConf_adaptor_lmdb_limits,
189  &impl_runtime_rti__AdaptiveConf_adaptor_lmdb_limits_size,
190  &impl_runtime_rti__AdaptiveConf_adaptor_lmdb_limits_time,
191  NULL
192 };
193 
194 /* Register (afw_lmdb_) runtime object maps. */
196  afw_xctx_t *xctx)
197 {
199  &impl_rti[0],
200  xctx);
201 }
Adaptive Framework Core API.
Adaptive Framework register generated (afw_lmdb) header.
void afw_lmdb_register_runtime_object_maps(afw_xctx_t *xctx)
Register (afw_lmdb_) runtime object maps.
#define offsetof(type, member)
Definition: afw_common.h:135
afw_runtime_resolve_and_register_object_map_infs(const afw_interface_implementation_rti_t *const *rti, afw_xctx_t *xctx)
Create and register runtime object map interfaces.
Definition: afw_runtime.c:373
Interface Implementation Run Time Information.
Interface afw_xctx public struct.