FluxioValue.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <experimental/memory>
4 #include <optional>
5 #include <string>
6 
8 #include <RobotAPI/interface/skills/SkillManagerInterface.h>
9 #include <RobotAPI/libraries/skills/core/aron/FluxioValue.aron.generated.h>
10 
11 #include "FluxioProfile.h"
12 
13 namespace armarx
14 {
15  namespace skills
16  {
17  struct FluxioValue
18  {
21 
22  std::optional<manager::dto::FluxioValue> toManagerIce() const;
23  std::optional<manager::arondto::FluxioValue> toAron() const;
24 
25  static std::optional<FluxioValue>
26  FromIce(const manager::dto::FluxioValue& i,
27  std::map<std::string, FluxioProfile>& profilesMap);
28  static std::optional<FluxioValue>
29  FromAron(const manager::arondto::FluxioValue& i,
30  std::map<std::string, FluxioProfile>& profilesMap);
31  };
32  } // namespace skills
33 } // namespace armarx
Variant.h
skills
This file is part of ArmarX.
armarx::skills::FluxioValue::FromIce
static std::optional< FluxioValue > FromIce(const manager::dto::FluxioValue &i, std::map< std::string, FluxioProfile > &profilesMap)
Definition: FluxioValue.cpp:39
armarx::skills::FluxioValue::toManagerIce
std::optional< manager::dto::FluxioValue > toManagerIce() const
Definition: FluxioValue.cpp:17
FluxioProfile.h
std::experimental::fundamentals_v2::observer_ptr
Definition: ManagedIceObject.h:53
armarx::aron::data::VariantPtr
std::shared_ptr< Variant > VariantPtr
Definition: forward_declarations.h:11
armarx::skills::FluxioValue::toAron
std::optional< manager::arondto::FluxioValue > toAron() const
Definition: FluxioValue.cpp:81
armarx::skills::FluxioValue::profilePtr
std::experimental::observer_ptr< const FluxioProfile > profilePtr
Definition: FluxioValue.h:19
armarx::skills::FluxioValue::FromAron
static std::optional< FluxioValue > FromAron(const manager::arondto::FluxioValue &i, std::map< std::string, FluxioProfile > &profilesMap)
Definition: FluxioValue.cpp:58
armarx::skills::FluxioValue::content
armarx::aron::data::VariantPtr content
Definition: FluxioValue.h:20
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:27
armarx::skills::FluxioValue
Definition: FluxioValue.h:17