PointAt.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 #include <armarx/control/pointing/aron/PointAtParams.aron.generated.h>
7 
9 {
10  /**
11  * @brief Implementation of the PointAt-skill
12  *
13  * @ingroup Library-pointing
14  */
15  class PointAt : public armarx::skills::SimpleSpecializedSkill<arondto::PointAtParams>
16  {
17  public:
19 
21 
23  PointAt(const Remote&);
24 
25  using Base::main;
26  MainResult main(const SpecializedMainInput& in) override;
27 
28  void onStopRequested() override;
29  void onTimeoutReached() override;
30 
31  private:
32  Remote remote_;
33  std::optional<core::Pointing> impl_;
34  };
35 
36 } // namespace armarx::control::pointing::skills
armarx::control::pointing::skills
Definition: aron_conversions.h:7
armarx::control::pointing::skills::PointAt
Implementation of the PointAt-skill.
Definition: PointAt.h:15
armarx::skills::SkillDescription
Definition: SkillDescription.h:18
SimpleSpecializedSkill.h
armarx::control::pointing::skills::PointAt::onTimeoutReached
void onTimeoutReached() override
Override these methods if you want to do something special when notification comes.
Definition: PointAt.cpp:58
armarx::skills::SimpleSpecializedSkill
Definition: SimpleSpecializedSkill.h:10
armarx::skills::Skill::MainResult
A result struct for th main method of a skill.
Definition: Skill.h:48
armarx::skills::SimpleSpecializedSkill< arondto::PointAtParams >::main
Skill::MainResult main() final
Definition: SimpleSpecializedSkill.h:71
armarx::control::pointing::skills::PointAt::onStopRequested
void onStopRequested() override
Definition: PointAt.cpp:52
armarx::control::pointing::skills::PointAt::GetSkillDescription
static armarx::skills::SkillDescription GetSkillDescription()
Definition: PointAt.cpp:11
Pointing.h
armarx::control::pointing::skills::PointAt::PointAt
PointAt(const Remote &)
Definition: PointAt.cpp:27
armarx::control::pointing::core::Pointing::Remote
Definition: Pointing.h:42