9#include <RobotAPI/interface/skills/SkillManagerInterface.h>
10#include <RobotAPI/libraries/skills/core/aron/FluxioParameter.aron.generated.h>
11#include <RobotAPI/libraries/skills/core/aron/FluxioValue.aron.generated.h>
19 manager::dto::FluxioParameter
22 manager::dto::FluxioParameter ret;
31 skills::manager::dto::FluxioValueList ret_values;
34 const auto& v = value.toManagerIce();
42 ret_values.push_back(v.value());
44 ret.values = ret_values;
49 manager::dto::FluxioIdentificator
52 manager::dto::FluxioIdentificator ret;
60 std::map<std::string, FluxioProfile>& profilesMap,
61 std::map<std::string, aron::type::ObjectPtr>& typesMap)
75 std::map<std::string, FluxioProfile>& profilesMap,
76 std::map<std::string, aron::type::ObjectPtr>& typesMap)
90 std::map<std::string, FluxioProfile>& profilesMap)
93 for (
const auto& value : i)
104 values.push_back(v.value());
110 std::map<std::string, FluxioProfile>& profilesMap)
113 for (
const auto& value : i)
124 values.push_back(v.value());
130 const manager::dto::FluxioIdentificator& i,
131 const std::map<std::string, FluxioParameter>& parametersMap)
133 const auto& parameterIt = parametersMap.find(i.id);
135 if (parameterIt == parametersMap.end())
146 const manager::arondto::FluxioIdentificator& i,
147 const std::map<std::string, FluxioParameter>& parametersMap)
149 const auto& parameterIt = parametersMap.find(i.id);
151 if (parameterIt == parametersMap.end())
162 std::map<std::string, FluxioProfile>& profilesMap,
163 std::map<std::string, aron::type::ObjectPtr>& typesMap)
176 for (
const manager::dto::FluxioValue& value : i.values)
186 ret.
values.push_back(v.value());
194 std::map<std::string, FluxioProfile>& profilesMap,
195 std::map<std::string, aron::type::ObjectPtr>& typesMap)
208 for (
const manager::arondto::FluxioValue& value : i.values)
218 ret.
values.push_back(v.value());
224 manager::arondto::FluxioParameter
227 manager::arondto::FluxioParameter ret;
236 std::vector<manager::arondto::FluxioValue> ret_values;
239 const auto& v = value.toAron();
247 ret_values.push_back(v.value());
249 ret.values = ret_values;
254 manager::arondto::FluxioIdentificator
257 manager::arondto::FluxioIdentificator ret;
#define ARMARX_WARNING
The logging level for unexpected behaviour, but not a serious problem.
This file is part of ArmarX.
This file offers overloads of toIce() and fromIce() functions for STL container types.
observer_ptr< _Tp > make_observer(_Tp *__p) noexcept
manager::arondto::FluxioIdentificator toFluxioIdentificatorAron() const
void updateFromIce(const manager::dto::FluxioParameter &i, std::map< std::string, FluxioProfile > &profilesMap, std::map< std::string, aron::type::ObjectPtr > &typesMap)
aron::type::VariantPtr type
static std::experimental::observer_ptr< const FluxioParameter > FromFluxioIdentificatorAron(const manager::arondto::FluxioIdentificator &i, const std::map< std::string, FluxioParameter > ¶metersMap)
static FluxioParameter FromIce(const manager::dto::FluxioParameter &i, std::map< std::string, FluxioProfile > &profilesMap, std::map< std::string, aron::type::ObjectPtr > &typesMap)
void updateValuesFromAron(const std::vector< manager::arondto::FluxioValue > &i, std::map< std::string, FluxioProfile > &profilesMap)
manager::arondto::FluxioParameter toAron() const
static std::experimental::observer_ptr< const FluxioParameter > FromFluxioIdentificatorIce(const manager::dto::FluxioIdentificator &i, const std::map< std::string, FluxioParameter > ¶metersMap)
static FluxioParameter FromAron(const manager::arondto::FluxioParameter &i, std::map< std::string, FluxioProfile > &profilesMap, std::map< std::string, aron::type::ObjectPtr > &typesMap)
void updateFromAron(const manager::arondto::FluxioParameter &i, std::map< std::string, FluxioProfile > &profilesMap, std::map< std::string, aron::type::ObjectPtr > &typesMap)
manager::dto::FluxioParameter toManagerIce() const
std::list< FluxioValue > values
FluxioTypeIdentificator typeIdentificator
manager::dto::FluxioIdentificator toFluxioIdentificatorIce() const
void updateValuesFromIce(const manager::dto::FluxioValueList &i, std::map< std::string, FluxioProfile > &profilesMap)
static FluxioTypeIdentificator FromAron(const manager::arondto::FluxioTypeIdentificator &i)
static FluxioTypeIdentificator FromIce(const manager::dto::FluxioTypeIdentificator &i)
static std::optional< FluxioValue > FromAron(const manager::arondto::FluxioValue &i, std::map< std::string, FluxioProfile > &profilesMap)
static std::optional< FluxioValue > FromIce(const manager::dto::FluxioValue &i, std::map< std::string, FluxioProfile > &profilesMap)