RobotsIO
Loading...
Searching...
No Matches
TestParameters.cpp
1/*
2 * Copyright (C) 2019 Istituto Italiano di Tecnologia (IIT)
3 *
4 * This software may be modified and distributed under the terms of the
5 * BSD 3-Clause license. See the accompanying LICENSE file for details.
6 */
7
8#include <TestParameters.h>
9
10robots_io_accessor_impl(TestParameters);
11
12robots_io_declare_field_impl(TestParameters, int, field0);
13
14robots_io_declare_field_impl(TestParameters, double, field1);
15
16robots_io_declare_field_impl(TestParameters, bool, field2);
17
18robots_io_declare_std_field_impl(TestParameters, string, field3);
19
20robots_io_declare_std_field_impl(TestParameters, size_t, field4);
21
22TestParameters::TestParameters()
23{
24 field0(0);
25
26 field1(0.0);
27
28 field2(true);
29
30 field3("");
31
32 field4(0);
33}
34
35TestParameters::~TestParameters()
36{}