framed.cpp
Go to the documentation of this file.
1 #include "framed.h"
2 
3 #include <RobotAPI/libraries/aron/common/aron/framed.aron.generated.h>
4 
5 void
6 armarx::arondto::to_json(nlohmann::json& j, const FrameID& bo)
7 {
8  j["agent"] = bo.agent;
9  j["frame"] = bo.frame;
10 }
11 
12 void
13 armarx::arondto::from_json(const nlohmann::json& j, FrameID& bo)
14 {
15  j.at("agent").get_to(bo.agent);
16  j.at("frame").get_to(bo.frame);
17 }
armarx::arondto::from_json
void from_json(const nlohmann::json &j, Names &bo)
Definition: armarx.cpp:12
armarx::arondto::to_json
void to_json(nlohmann::json &j, const Names &bo)
Definition: armarx.cpp:6
framed.h
armarx::aron::bo
const std::optional< BoT > & bo
Definition: aron_conversions.h:168