Skip to content

Commit 5e43cc9

Browse files
authored
Add latest C++ headers generated with nnvg 2.3.1 (#265)
1 parent 87b4a3b commit 5e43cc9

File tree

243 files changed

+9885
-3892
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

243 files changed

+9885
-3892
lines changed

src/DSDL_Types.h.impl

Lines changed: 220 additions & 220 deletions
Large diffs are not rendered by default.

src/nunavut/support/serialization.hpp

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,14 @@
1010
// enable_serialization_asserts: False
1111
// enable_override_variable_array_capacity: False
1212
// std: c++17
13-
// variable_array_type_template:
14-
// variable_array_type_include:
1513
// cast_format: static_cast<{type}>({value})
16-
// enable_allocator_support: False
14+
// variable_array_type_include: <vector>
15+
// variable_array_type_template: std::vector<{TYPE}>
16+
// variable_array_type_constructor_args:
17+
// allocator_include:
18+
// allocator_type:
19+
// allocator_is_default_constructible: True
20+
// ctor_convention: default
1721

1822
#ifndef NUNAVUT_SUPPORT_SERIALIZATION_HPP_INCLUDED
1923
#define NUNAVUT_SUPPORT_SERIALIZATION_HPP_INCLUDED
@@ -186,10 +190,14 @@ constexpr std::uint32_t omit_float_serialization_support = 0;
186190
constexpr std::uint32_t enable_serialization_asserts = 0;
187191
constexpr std::uint32_t enable_override_variable_array_capacity = 0;
188192
constexpr std::uint32_t std = 628873475;
189-
constexpr std::uint32_t variable_array_type_template = 0;
190-
constexpr std::uint32_t variable_array_type_include = 0;
191193
constexpr std::uint32_t cast_format = 1407868567;
192-
constexpr std::uint32_t enable_allocator_support = 0;
194+
constexpr std::uint32_t variable_array_type_include = 3320664631;
195+
constexpr std::uint32_t variable_array_type_template = 4227611599;
196+
constexpr std::uint32_t variable_array_type_constructor_args = 0;
197+
constexpr std::uint32_t allocator_include = 0;
198+
constexpr std::uint32_t allocator_type = 0;
199+
constexpr std::uint32_t allocator_is_default_constructible = 1;
200+
constexpr std::uint32_t ctor_convention = 3814588639;
193201

194202
} // end namespace options
195203

src/types/reg/udral/physics/acoustics/Note_0_1.hpp

Lines changed: 41 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
// Checking this file under version control is not recommended since metadata in this header will change for each
66
// build invocation. TODO: add --reproducible option to prevent any volatile metadata from being generated.
77
//
8-
// Generator: nunavut-2.0.9 (serialization was enabled)
8+
// Generator: nunavut-2.3.1 (serialization was enabled)
99
// Source file: /tmp/public_regulated_data_types/reg/udral/physics/acoustics/Note.0.1.dsdl
10-
// Generated at: 2023-03-10 05:17:54.538242 UTC
10+
// Generated at: 2024-01-12 03:09:36.167954 UTC
1111
// Is deprecated: no
1212
// Fixed port-ID: None
1313
// Full name: reg.udral.physics.acoustics.Note
@@ -21,23 +21,27 @@
2121
// version: (1, 0, 0)
2222
// Platform
2323
// python_implementation: CPython
24-
// python_version: 3.10.6
24+
// python_version: 3.10.12
2525
// python_release_level: final
26-
// python_build: ('main', 'Nov 14 2022 16:10:14')
27-
// python_compiler: GCC 11.3.0
26+
// python_build: ('main', 'Nov 20 2023 15:14:05')
27+
// python_compiler: GCC 11.4.0
2828
// python_revision:
2929
// python_xoptions: {}
30-
// runtime_platform: Linux-5.19.0-35-generic-x86_64-with-glibc2.35
30+
// runtime_platform: Linux-5.15.0-91-generic-aarch64-with-glibc2.35
3131
// Language Options
3232
// target_endianness: any
3333
// omit_float_serialization_support: False
3434
// enable_serialization_asserts: False
3535
// enable_override_variable_array_capacity: False
3636
// std: c++17
37-
// variable_array_type_template:
38-
// variable_array_type_include:
3937
// cast_format: static_cast<{type}>({value})
40-
// enable_allocator_support: False
38+
// variable_array_type_include: <vector>
39+
// variable_array_type_template: std::vector<{TYPE}>
40+
// variable_array_type_constructor_args:
41+
// allocator_include:
42+
// allocator_type:
43+
// allocator_is_default_constructible: True
44+
// ctor_convention: default
4145
// Uses Language Features
4246
// Uses std_variant:yes
4347
#ifndef REG_UDRAL_PHYSICS_ACOUSTICS_NOTE_0_1_HPP_INCLUDED
@@ -88,22 +92,42 @@ static_assert( nunavut::support::options::std == 628873475,
8892
"is trying to use a serialization library that was compiled with "
8993
"different language options. This is dangerous and therefore not "
9094
"allowed." );
91-
static_assert( nunavut::support::options::variable_array_type_template == 0,
95+
static_assert( nunavut::support::options::cast_format == 1407868567,
9296
"/tmp/public_regulated_data_types/reg/udral/physics/acoustics/Note.0.1.dsdl "
9397
"is trying to use a serialization library that was compiled with "
9498
"different language options. This is dangerous and therefore not "
9599
"allowed." );
96-
static_assert( nunavut::support::options::variable_array_type_include == 0,
100+
static_assert( nunavut::support::options::variable_array_type_include == 3320664631,
97101
"/tmp/public_regulated_data_types/reg/udral/physics/acoustics/Note.0.1.dsdl "
98102
"is trying to use a serialization library that was compiled with "
99103
"different language options. This is dangerous and therefore not "
100104
"allowed." );
101-
static_assert( nunavut::support::options::cast_format == 1407868567,
105+
static_assert( nunavut::support::options::variable_array_type_template == 4227611599,
106+
"/tmp/public_regulated_data_types/reg/udral/physics/acoustics/Note.0.1.dsdl "
107+
"is trying to use a serialization library that was compiled with "
108+
"different language options. This is dangerous and therefore not "
109+
"allowed." );
110+
static_assert( nunavut::support::options::variable_array_type_constructor_args == 0,
111+
"/tmp/public_regulated_data_types/reg/udral/physics/acoustics/Note.0.1.dsdl "
112+
"is trying to use a serialization library that was compiled with "
113+
"different language options. This is dangerous and therefore not "
114+
"allowed." );
115+
static_assert( nunavut::support::options::allocator_include == 0,
102116
"/tmp/public_regulated_data_types/reg/udral/physics/acoustics/Note.0.1.dsdl "
103117
"is trying to use a serialization library that was compiled with "
104118
"different language options. This is dangerous and therefore not "
105119
"allowed." );
106-
static_assert( nunavut::support::options::enable_allocator_support == 0,
120+
static_assert( nunavut::support::options::allocator_type == 0,
121+
"/tmp/public_regulated_data_types/reg/udral/physics/acoustics/Note.0.1.dsdl "
122+
"is trying to use a serialization library that was compiled with "
123+
"different language options. This is dangerous and therefore not "
124+
"allowed." );
125+
static_assert( nunavut::support::options::allocator_is_default_constructible == 1,
126+
"/tmp/public_regulated_data_types/reg/udral/physics/acoustics/Note.0.1.dsdl "
127+
"is trying to use a serialization library that was compiled with "
128+
"different language options. This is dangerous and therefore not "
129+
"allowed." );
130+
static_assert( nunavut::support::options::ctor_convention == 3814588639,
107131
"/tmp/public_regulated_data_types/reg/udral/physics/acoustics/Note.0.1.dsdl "
108132
"is trying to use a serialization library that was compiled with "
109133
"different language options. This is dangerous and therefore not "
@@ -142,6 +166,7 @@ struct Note_0_1 final
142166
static constexpr std::size_t SerializationBufferSizeBytes = 12UL;
143167
static_assert(ExtentBytes >= SerializationBufferSizeBytes, "Internal constraint violation");
144168
static_assert(ExtentBytes < (std::numeric_limits<std::size_t>::max() / 8U), "This message is too large to be handled by the selected types");
169+
145170
struct TypeOf
146171
{
147172
TypeOf() = delete;
@@ -155,11 +180,11 @@ struct Note_0_1 final
155180
// | FIELDS
156181
// +----------------------------------------------------------------------+
157182

158-
_traits_::TypeOf::frequency frequency;
183+
_traits_::TypeOf::frequency frequency{};
159184

160-
_traits_::TypeOf::duration duration;
185+
_traits_::TypeOf::duration duration{};
161186

162-
_traits_::TypeOf::acoustic_power acoustic_power;
187+
_traits_::TypeOf::acoustic_power acoustic_power{};
163188
};
164189

165190
inline nunavut::support::SerializeResult serialize(const Note_0_1& obj,

src/types/reg/udral/physics/dynamics/rotation/PlanarTs_0_1.hpp

Lines changed: 40 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
// Checking this file under version control is not recommended since metadata in this header will change for each
66
// build invocation. TODO: add --reproducible option to prevent any volatile metadata from being generated.
77
//
8-
// Generator: nunavut-2.0.9 (serialization was enabled)
8+
// Generator: nunavut-2.3.1 (serialization was enabled)
99
// Source file: /tmp/public_regulated_data_types/reg/udral/physics/dynamics/rotation/PlanarTs.0.1.dsdl
10-
// Generated at: 2023-03-10 05:17:54.513707 UTC
10+
// Generated at: 2024-01-12 03:09:36.040071 UTC
1111
// Is deprecated: no
1212
// Fixed port-ID: None
1313
// Full name: reg.udral.physics.dynamics.rotation.PlanarTs
@@ -21,23 +21,27 @@
2121
// version: (1, 0, 0)
2222
// Platform
2323
// python_implementation: CPython
24-
// python_version: 3.10.6
24+
// python_version: 3.10.12
2525
// python_release_level: final
26-
// python_build: ('main', 'Nov 14 2022 16:10:14')
27-
// python_compiler: GCC 11.3.0
26+
// python_build: ('main', 'Nov 20 2023 15:14:05')
27+
// python_compiler: GCC 11.4.0
2828
// python_revision:
2929
// python_xoptions: {}
30-
// runtime_platform: Linux-5.19.0-35-generic-x86_64-with-glibc2.35
30+
// runtime_platform: Linux-5.15.0-91-generic-aarch64-with-glibc2.35
3131
// Language Options
3232
// target_endianness: any
3333
// omit_float_serialization_support: False
3434
// enable_serialization_asserts: False
3535
// enable_override_variable_array_capacity: False
3636
// std: c++17
37-
// variable_array_type_template:
38-
// variable_array_type_include:
3937
// cast_format: static_cast<{type}>({value})
40-
// enable_allocator_support: False
38+
// variable_array_type_include: <vector>
39+
// variable_array_type_template: std::vector<{TYPE}>
40+
// variable_array_type_constructor_args:
41+
// allocator_include:
42+
// allocator_type:
43+
// allocator_is_default_constructible: True
44+
// ctor_convention: default
4145
// Uses Language Features
4246
// Uses std_variant:yes
4347
#ifndef REG_UDRAL_PHYSICS_DYNAMICS_ROTATION_PLANAR_TS_0_1_HPP_INCLUDED
@@ -89,22 +93,42 @@ static_assert( nunavut::support::options::std == 628873475,
8993
"is trying to use a serialization library that was compiled with "
9094
"different language options. This is dangerous and therefore not "
9195
"allowed." );
92-
static_assert( nunavut::support::options::variable_array_type_template == 0,
96+
static_assert( nunavut::support::options::cast_format == 1407868567,
9397
"/tmp/public_regulated_data_types/reg/udral/physics/dynamics/rotation/PlanarTs.0.1.dsdl "
9498
"is trying to use a serialization library that was compiled with "
9599
"different language options. This is dangerous and therefore not "
96100
"allowed." );
97-
static_assert( nunavut::support::options::variable_array_type_include == 0,
101+
static_assert( nunavut::support::options::variable_array_type_include == 3320664631,
98102
"/tmp/public_regulated_data_types/reg/udral/physics/dynamics/rotation/PlanarTs.0.1.dsdl "
99103
"is trying to use a serialization library that was compiled with "
100104
"different language options. This is dangerous and therefore not "
101105
"allowed." );
102-
static_assert( nunavut::support::options::cast_format == 1407868567,
106+
static_assert( nunavut::support::options::variable_array_type_template == 4227611599,
107+
"/tmp/public_regulated_data_types/reg/udral/physics/dynamics/rotation/PlanarTs.0.1.dsdl "
108+
"is trying to use a serialization library that was compiled with "
109+
"different language options. This is dangerous and therefore not "
110+
"allowed." );
111+
static_assert( nunavut::support::options::variable_array_type_constructor_args == 0,
112+
"/tmp/public_regulated_data_types/reg/udral/physics/dynamics/rotation/PlanarTs.0.1.dsdl "
113+
"is trying to use a serialization library that was compiled with "
114+
"different language options. This is dangerous and therefore not "
115+
"allowed." );
116+
static_assert( nunavut::support::options::allocator_include == 0,
103117
"/tmp/public_regulated_data_types/reg/udral/physics/dynamics/rotation/PlanarTs.0.1.dsdl "
104118
"is trying to use a serialization library that was compiled with "
105119
"different language options. This is dangerous and therefore not "
106120
"allowed." );
107-
static_assert( nunavut::support::options::enable_allocator_support == 0,
121+
static_assert( nunavut::support::options::allocator_type == 0,
122+
"/tmp/public_regulated_data_types/reg/udral/physics/dynamics/rotation/PlanarTs.0.1.dsdl "
123+
"is trying to use a serialization library that was compiled with "
124+
"different language options. This is dangerous and therefore not "
125+
"allowed." );
126+
static_assert( nunavut::support::options::allocator_is_default_constructible == 1,
127+
"/tmp/public_regulated_data_types/reg/udral/physics/dynamics/rotation/PlanarTs.0.1.dsdl "
128+
"is trying to use a serialization library that was compiled with "
129+
"different language options. This is dangerous and therefore not "
130+
"allowed." );
131+
static_assert( nunavut::support::options::ctor_convention == 3814588639,
108132
"/tmp/public_regulated_data_types/reg/udral/physics/dynamics/rotation/PlanarTs.0.1.dsdl "
109133
"is trying to use a serialization library that was compiled with "
110134
"different language options. This is dangerous and therefore not "
@@ -138,6 +162,7 @@ struct PlanarTs_0_1 final
138162
static constexpr std::size_t SerializationBufferSizeBytes = 23UL;
139163
static_assert(ExtentBytes >= SerializationBufferSizeBytes, "Internal constraint violation");
140164
static_assert(ExtentBytes < (std::numeric_limits<std::size_t>::max() / 8U), "This message is too large to be handled by the selected types");
165+
141166
struct TypeOf
142167
{
143168
TypeOf() = delete;
@@ -150,9 +175,9 @@ struct PlanarTs_0_1 final
150175
// | FIELDS
151176
// +----------------------------------------------------------------------+
152177

153-
_traits_::TypeOf::timestamp timestamp;
178+
_traits_::TypeOf::timestamp timestamp{};
154179

155-
_traits_::TypeOf::value value;
180+
_traits_::TypeOf::value value{};
156181
};
157182

158183
inline nunavut::support::SerializeResult serialize(const PlanarTs_0_1& obj,

0 commit comments

Comments
 (0)