6 #ifndef MOTORCORTEX_CORE_MYDATA_H
7 #define MOTORCORTEX_CORE_MYDATA_H
9 #include "visit_struct_intrusive.h"
13 BEGIN_VISITABLES(
Foo1);
14 typedef std::array<double, 5> std_array5;
15 typedef double array5[5];
19 VISITABLE(
double, f1);
20 VISITABLE(std_array5, f2);
21 VISITABLE(array5, f3);
26 BEGIN_VISITABLES(
Foo2);
27 typedef std::array<double, 5> std_array5;
28 typedef std::array<Foo1, 5> foo1_array5;
29 VISITABLE(
double, simple_type);
30 VISITABLE(std_array5, simple_array);
31 VISITABLE(
Foo1, visitable_type);
32 VISITABLE(foo1_array5, visitable_array);
37 BEGIN_VISITABLES(
Foo);
38 typedef std::array<double, 5> std_array5;
39 typedef double array5[5];
44 VISITABLE(
double, f1);
45 VISITABLE(std_array5, f2);
46 VISITABLE(array5, f3);
52 #endif // MOTORCORTEX_CORE_MYDATA_H