FluxioProfile.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <experimental/memory>
4 #include <string>
5 
6 #include <RobotAPI/interface/skills/SkillManagerInterface.h>
7 #include <RobotAPI/libraries/skills/core/aron/FluxioIdentificator.aron.generated.h>
8 #include <RobotAPI/libraries/skills/core/aron/FluxioProfile.aron.generated.h>
9 
10 namespace armarx
11 {
12  namespace skills
13  {
15  {
16  std::string id;
17  std::string name;
18  std::string description = "";
20 
21  manager::dto::FluxioProfile toManagerIce() const;
22  manager::arondto::FluxioProfile toManagerAron() const;
23  manager::dto::FluxioIdentificator toFluxioIdentificatorIce() const;
24  manager::arondto::FluxioIdentificator toFluxioIdentificatorAron() const;
25 
27  FromFluxioIdentificatorIce(const manager::dto::FluxioIdentificator& i,
28  std::map<std::string, FluxioProfile>& profilesMap);
30  FromFluxioIdentificatorAron(const manager::arondto::FluxioIdentificator& i,
31  std::map<std::string, FluxioProfile>& profilesMap);
32  static FluxioProfile FromIce(const manager::dto::FluxioProfile& i,
33  std::map<std::string, FluxioProfile>& profilesMap);
34  };
35  } // namespace skills
36 } // namespace armarx
skills
This file is part of ArmarX.
armarx::skills::FluxioProfile::toFluxioIdentificatorIce
manager::dto::FluxioIdentificator toFluxioIdentificatorIce() const
Definition: FluxioProfile.cpp:59
armarx::skills::FluxioProfile::FromFluxioIdentificatorAron
static std::experimental::observer_ptr< const FluxioProfile > FromFluxioIdentificatorAron(const manager::arondto::FluxioIdentificator &i, std::map< std::string, FluxioProfile > &profilesMap)
Definition: FluxioProfile.cpp:96
armarx::skills::FluxioProfile::name
std::string name
Definition: FluxioProfile.h:17
std::experimental::fundamentals_v2::observer_ptr
Definition: ManagedIceObject.h:53
armarx::skills::FluxioProfile::FromIce
static FluxioProfile FromIce(const manager::dto::FluxioProfile &i, std::map< std::string, FluxioProfile > &profilesMap)
Definition: FluxioProfile.cpp:111
armarx::skills::FluxioProfile::toFluxioIdentificatorAron
manager::arondto::FluxioIdentificator toFluxioIdentificatorAron() const
Definition: FluxioProfile.cpp:70
armarx::skills::FluxioProfile::id
std::string id
Definition: FluxioProfile.h:16
armarx::skills::FluxioProfile::toManagerIce
manager::dto::FluxioProfile toManagerIce() const
Definition: FluxioProfile.cpp:13
armarx::skills::FluxioProfile::description
std::string description
Definition: FluxioProfile.h:18
armarx::skills::FluxioProfile
Definition: FluxioProfile.h:14
armarx::skills::FluxioProfile::FromFluxioIdentificatorIce
static std::experimental::observer_ptr< const FluxioProfile > FromFluxioIdentificatorIce(const manager::dto::FluxioIdentificator &i, std::map< std::string, FluxioProfile > &profilesMap)
Definition: FluxioProfile.cpp:81
armarx::skills::FluxioProfile::toManagerAron
manager::arondto::FluxioProfile toManagerAron() const
Definition: FluxioProfile.cpp:36
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:27
armarx::skills::FluxioProfile::parentPtr
std::experimental::observer_ptr< const FluxioProfile > parentPtr
Definition: FluxioProfile.h:19