9#include <RobotAPI/libraries/skills/core/aron/FluxioEdge.aron.generated.h>
26 std::optional<manager::dto::FluxioEdge>
36 manager::dto::FluxioEdge ret;
38 ret.fromNodeId =
fromNodePtr->toFluxioIdentificatorIce();
40 ret.toNodeId =
toNodePtr->toFluxioIdentificatorIce();
46 std::optional<manager::arondto::FluxioEdge>
56 manager::arondto::FluxioEdge ret;
58 ret.fromNodeId =
fromNodePtr->toFluxioIdentificatorAron();
60 ret.toNodeId =
toNodePtr->toFluxioIdentificatorAron();
66 std::optional<FluxioEdge>
68 const manager::dto::FluxioEdge& i,
69 const std::map<
const std::string,
const std::unique_ptr<FluxioNode>>& nodesMap,
70 const std::map<std::string, FluxioParameter>& parametersMap)
91 if (subSkillNodePtr ==
nullptr)
97 if (subSkillNodePtr->skillPtr ==
nullptr)
103 const auto& subSkillParams = subSkillNodePtr->skillPtr->parameters;
116 if (controlNodePtr ==
nullptr)
123 i.fromParameterId, controlNodePtr->parametersMap);
136 if (subSkillNodePtr ==
nullptr)
142 if (subSkillNodePtr->skillPtr ==
nullptr)
148 const auto& subSkillParams = subSkillNodePtr->skillPtr->parameters;
156 if (controlNodePtr ==
nullptr)
163 i.toParameterId, controlNodePtr->parametersMap);
188 std::optional<FluxioEdge>
190 const manager::arondto::FluxioEdge& i,
191 const std::map<
const std::string,
const std::unique_ptr<FluxioNode>>& nodesMap,
192 const std::map<std::string, FluxioParameter>& parametersMap)
213 if (subSkillNodePtr ==
nullptr)
219 if (subSkillNodePtr->skillPtr ==
nullptr)
225 const auto& subSkillParams = subSkillNodePtr->skillPtr->parameters;
238 if (controlNodePtr ==
nullptr)
245 i.fromParameterId, controlNodePtr->parametersMap);
258 if (subSkillNodePtr ==
nullptr)
264 if (subSkillNodePtr->skillPtr ==
nullptr)
270 const auto& subSkillParams = subSkillNodePtr->skillPtr->parameters;
278 if (controlNodePtr ==
nullptr)
285 i.toParameterId, controlNodePtr->parametersMap);
#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
std::experimental::observer_ptr< const FluxioParameter > fromParameterPtr
static std::optional< FluxioEdge > FromAron(const manager::arondto::FluxioEdge &i, const std::map< const std::string, const std::unique_ptr< FluxioNode > > &nodesMap, const std::map< std::string, FluxioParameter > ¶metersMap)
std::optional< manager::arondto::FluxioEdge > toAron() const
static std::optional< FluxioEdge > FromIce(const manager::dto::FluxioEdge &i, const std::map< const std::string, const std::unique_ptr< FluxioNode > > &nodesMap, const std::map< std::string, FluxioParameter > ¶metersMap)
std::experimental::observer_ptr< const FluxioParameter > toParameterPtr
std::optional< manager::dto::FluxioEdge > toManagerIce() const
std::experimental::observer_ptr< const FluxioNode > fromNodePtr
std::experimental::observer_ptr< const FluxioNode > toNodePtr
static std::experimental::observer_ptr< const FluxioNode > FromFluxioIdentificatorIce(const manager::dto::FluxioIdentificator &i, const std::map< const std::string, const std::unique_ptr< FluxioNode > > &nodesMap)
static std::experimental::observer_ptr< const FluxioNode > FromFluxioIdentificatorAron(const manager::arondto::FluxioIdentificator &i, const std::map< const std::string, const std::unique_ptr< FluxioNode > > &nodesMap)
static std::experimental::observer_ptr< const FluxioParameter > FromFluxioIdentificatorAron(const manager::arondto::FluxioIdentificator &i, const std::map< std::string, FluxioParameter > ¶metersMap)
static std::experimental::observer_ptr< const FluxioParameter > FromFluxioIdentificatorIce(const manager::dto::FluxioIdentificator &i, const std::map< std::string, FluxioParameter > ¶metersMap)