SkillExecutionID.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
6
7#include <RobotAPI/interface/skills/SkillProviderInterface.h>
10
11namespace armarx
12{
13 namespace skills
14 {
16 {
18 std::string executorName;
20
21 static const constexpr char* UNKNOWN = "UNKNOWN";
22 static const constexpr char* ENTER_SEPARATOR = "[";
23 static const constexpr char* EXIT_SEPARATOR = "]";
24 static const constexpr char* SEPARATOR = "@";
25
26 bool operator==(const SkillExecutionID& other) const;
27
28 bool operator<(const SkillExecutionID& other) const;
29
30 bool operator<=(const SkillExecutionID& other) const;
31
32 skills::manager::dto::SkillExecutionID toManagerIce() const;
33
34 skills::provider::dto::SkillExecutionID toProviderIce() const;
35
36 static SkillExecutionID FromIce(const skills::manager::dto::SkillExecutionID&);
37
38 static SkillExecutionID FromIce(const skills::provider::dto::SkillExecutionID&,
39 const std::optional<skills::ProviderID>& providerName);
40
41 std::string toString() const;
42 };
43
44 } // namespace skills
45} // namespace armarx
Represents a point in time.
Definition DateTime.h:25
This file is part of ArmarX.
This file offers overloads of toIce() and fromIce() functions for STL container types.
skills::provider::dto::SkillExecutionID toProviderIce() const
armarx::core::time::DateTime executionStartedTime
bool operator==(const SkillExecutionID &other) const
bool operator<(const SkillExecutionID &other) const
static const constexpr char * SEPARATOR
bool operator<=(const SkillExecutionID &other) const
static SkillExecutionID FromIce(const skills::manager::dto::SkillExecutionID &)
static const constexpr char * ENTER_SEPARATOR
skills::manager::dto::SkillExecutionID toManagerIce() const
static const constexpr char * UNKNOWN
static const constexpr char * EXIT_SEPARATOR