armarx.cpp
Go to the documentation of this file.
1
#include "
armarx.h
"
2
3
#include <RobotAPI/libraries/aron/common/aron/Names.aron.generated.h>
4
5
6
void
armarx::arondto::to_json
(nlohmann::json& j,
const
Names
&
bo
)
7
{
8
j[
"recognized"
] =
bo
.recognized;
9
j[
"spoken"
] =
bo
.spoken;
10
}
11
12
void
armarx::arondto::from_json
(
const
nlohmann::json& j,
Names
&
bo
)
13
{
14
j.at(
"recognized"
).get_to(
bo
.recognized);
15
j.at(
"spoken"
).get_to(
bo
.spoken);
16
}
armarx::arondto::from_json
void from_json(const nlohmann::json &j, Names &bo)
Definition:
armarx.cpp:12
armarx::Names
Definition:
Names.h:9
armarx::arondto::to_json
void to_json(nlohmann::json &j, const Names &bo)
Definition:
armarx.cpp:6
armarx::aron::bo
const std::optional< BoT > & bo
Definition:
aron_conversions.h:168
armarx.h
RobotAPI
libraries
aron
common
json_conversions
armarx.cpp
Generated on Sat Oct 12 2024 09:14:07 for armarx_documentation by
1.8.17