SkillDescription.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
11#include "SkillID.h"
12
13namespace armarx
14{
15 namespace skills
16 {
18 {
20 std::string description = "";
25
26 provider::dto::SkillDescription toProviderIce() const;
27 manager::dto::SkillDescription toManagerIce() const;
28
29 static SkillDescription FromIce(const provider::dto::SkillDescription& i,
30 const std::optional<ProviderID>& = std::nullopt);
31 static SkillDescription FromIce(const manager::dto::SkillDescription& i);
32
33 bool operator==(const SkillDescription& other) const;
34 };
35
36 template <class T>
37 concept isSkillDescription = std::is_base_of<SkillDescription, T>::value;
38 } // namespace skills
39} // namespace armarx
Represents a duration.
Definition Duration.h:17
static Duration MilliSeconds(std::int64_t milliSeconds)
Constructs a duration in milliseconds.
Definition Duration.cpp:48
std::shared_ptr< Dict > DictPtr
Definition Dict.h:42
std::shared_ptr< Object > ObjectPtr
Definition Object.h:36
This file is part of ArmarX.
This file offers overloads of toIce() and fromIce() functions for STL container types.
bool operator==(const SkillDescription &other) const
manager::dto::SkillDescription toManagerIce() const
aron::data::DictPtr rootProfileDefaults
aron::type::ObjectPtr parametersType
provider::dto::SkillDescription toProviderIce() const
static SkillDescription FromIce(const provider::dto::SkillDescription &i, const std::optional< ProviderID > &=std::nullopt)
armarx::core::time::Duration timeout