Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
afw_vfs_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_vfs".
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_vfs_generated.h"
27 /*
28  * generate/additional_includes/runtime_object_maps.h is added to generated
29  * *runtime_object_maps.c.
30  *
31  * #include "../my_header.h"
32  */
33 
34 
35 /* --------------------------------------------------------------------------- */
36 
37 
38 
39 /* Runtime object map properties for _AdaptiveAdaptorTypeSpecific_vfs_retrieve_objects objects. */
40 
42 impl_runtime_meta__AdaptiveAdaptorTypeSpecific_vfs_retrieve_objects = {
43  &afw_vfs_s__AdaptiveAdaptorTypeSpecific_vfs_retrieve_objects,
44  NULL,
46  false,
47 };
48 
49 AFW_RUNTIME_OBJECT_RTI(
50  impl_runtime_rti__AdaptiveAdaptorTypeSpecific_vfs_retrieve_objects,
51  impl_runtime_meta__AdaptiveAdaptorTypeSpecific_vfs_retrieve_objects);
52 
53 
54 /* Runtime object map properties for _AdaptiveConf_adaptor_vfs objects. */
55 
57 impl_runtime_meta__AdaptiveConf_adaptor_vfs = {
58  &afw_vfs_s__AdaptiveConf_adaptor_vfs,
59  NULL,
61  false,
62 };
63 
64 AFW_RUNTIME_OBJECT_RTI(
65  impl_runtime_rti__AdaptiveConf_adaptor_vfs,
66  impl_runtime_meta__AdaptiveConf_adaptor_vfs);
67 
68 
69 /* Runtime object map properties for _AdaptiveFile_vfs objects. */
70 
72 impl_runtime_meta__AdaptiveFile_vfs = {
73  &afw_vfs_s__AdaptiveFile_vfs,
74  NULL,
76  false,
77 };
78 
79 AFW_RUNTIME_OBJECT_RTI(
80  impl_runtime_rti__AdaptiveFile_vfs,
81  impl_runtime_meta__AdaptiveFile_vfs);
82 
83 /* NULL terminated list of rti pointers. */
84 static const afw_interface_implementation_rti_t * impl_rti[] = {
85  &impl_runtime_rti__AdaptiveAdaptorTypeSpecific_vfs_retrieve_objects,
86  &impl_runtime_rti__AdaptiveConf_adaptor_vfs,
87  &impl_runtime_rti__AdaptiveFile_vfs,
88  NULL
89 };
90 
91 /* Register (afw_vfs_) runtime object maps. */
93  afw_xctx_t *xctx)
94 {
96  &impl_rti[0],
97  xctx);
98 }
Adaptive Framework Core API.
Adaptive Framework register generated (afw_vfs) header.
void afw_vfs_register_runtime_object_maps(afw_xctx_t *xctx)
Register (afw_vfs_) 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.