Incomplete.h
Go to the documentation of this file.
1
2
/*
3
* This file is part of ArmarX.
4
*
5
* ArmarX is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2 as
7
* published by the Free Software Foundation.
8
*
9
* ArmarX is distributed in the hope that it will be useful, but
10
* WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
*
17
* @author Fabian Reister ( fabian dot reister at kit dot edu )
18
* @date 2021
19
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20
* GNU General Public License
21
*/
22
23
#pragma once
24
25
// RobotAPI
26
#include <
RobotAPI/libraries/skills/provider/SimpleSkill.h
>
27
28
namespace
armarx::skills::provider
29
{
30
31
class
IncompleteSkill
:
public
SimpleSkill
32
{
33
public
:
34
IncompleteSkill
();
35
36
static
SkillDescription
GetSkillDescription
();
37
38
private
:
39
Skill::PrepareResult
prepare()
final
;
40
Skill::MainResult
main
(
const
MainInput
&)
final
;
41
42
std::atomic_bool first_prepared =
false
;
43
};
44
}
// namespace armarx::skills::provider
armarx::skills::Skill::PrepareResult
A result struct for skill preparing.
Definition:
Skill.h:42
armarx::skills::SkillDescription
Definition:
SkillDescription.h:18
armarx::skills::SimpleSkill::MainInput
Definition:
SimpleSkill.h:22
armarx::skills::provider::IncompleteSkill::GetSkillDescription
static SkillDescription GetSkillDescription()
Definition:
Incomplete.cpp:17
armarx::skills::provider::IncompleteSkill
Definition:
Incomplete.h:31
armarx::skills::provider
Definition:
BusyWaiting.cpp:6
armarx::skills::Skill::MainResult
A result struct for th main method of a skill.
Definition:
Skill.h:48
armarx::skills::SimpleSkill
Definition:
SimpleSkill.h:9
SimpleSkill.h
armarx::skills::provider::IncompleteSkill::IncompleteSkill
IncompleteSkill()
Definition:
Incomplete.cpp:12
armarx::skills::SimpleSkill::main
MainResult main() final
Override this method with the actual implementation. The callback is for status updates to the callin...
Definition:
SimpleSkill.cpp:15
RobotAPI
components
skills
SkillProviderExample
Incomplete.h
Generated on Sat Oct 12 2024 09:14:06 for armarx_documentation by
1.8.17