ProviderID.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 #include <vector>
5 
6 #include <RobotAPI/interface/skills/SkillManagerInterface.h>
8 
9 namespace armarx
10 {
11  namespace skills
12  {
13  class SkillID;
14 
15  class ProviderID
16  {
17  public:
18  bool operator==(const ProviderID& other) const;
19  bool operator!=(const ProviderID& other) const;
20  bool operator<(const ProviderID& other) const;
21  bool operator<=(const ProviderID& other) const;
22 
23  manager::dto::ProviderID toManagerIce() const;
24  callback::dto::ProviderID toCallbackIce() const;
25 
26  static ProviderID FromIce(const manager::dto::ProviderID&);
27  static ProviderID FromIce(const callback::dto::ProviderID&);
28 
29  std::string toString() const;
30 
31  std::string providerName;
32  };
33 
34  std::ostream& operator<<(std::ostream& os, const ProviderID& id);
35  } // namespace skills
36 } // namespace armarx
armarx::skills::ProviderID::operator<=
bool operator<=(const ProviderID &other) const
Definition: ProviderID.cpp:26
armarx::skills::ProviderID::operator!=
bool operator!=(const ProviderID &other) const
Definition: ProviderID.cpp:14
armarx::skills::ProviderID::operator==
bool operator==(const ProviderID &other) const
Definition: ProviderID.cpp:8
armarx::skills::ProviderID::toString
std::string toString() const
Definition: ProviderID.cpp:56
skills
This file is part of ArmarX.
armarx::skills::ProviderID::providerName
std::string providerName
Definition: ProviderID.h:31
armarx::skills::ProviderID::toCallbackIce
callback::dto::ProviderID toCallbackIce() const
Definition: ProviderID.cpp:50
Dict.h
armarx::skills::operator<<
std::ostream & operator<<(std::ostream &os, const ProviderID &id)
Definition: ProviderID.cpp:63
armarx::skills::ProviderID::operator<
bool operator<(const ProviderID &other) const
Definition: ProviderID.cpp:20
armarx::skills::ProviderID
Definition: ProviderID.h:15
armarx::skills::ProviderID::toManagerIce
manager::dto::ProviderID toManagerIce() const
Definition: ProviderID.cpp:44
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
armarx::skills::ProviderID::FromIce
static ProviderID FromIce(const manager::dto::ProviderID &)
Definition: ProviderID.cpp:32