MemoryIntrospector.h
Go to the documentation of this file.
1 /**
2  * This file is part of ArmarX.
3  *
4  * ArmarX is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  *
8  * ArmarX is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * @author Fabian Reister ( fabian dot reister at kit dot edu )
17  * @author Christian R. G. Dreher ( c dot dreher 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 
26 
29 
31 {
32 
34  {
35  public:
37  const std::string& clientID);
38  ~MemoryIntrospector() override = default;
39 
40 
43  const std::optional<local_planning::LocalPlannerResult>& result) override;
44 
45  void onRobotPose(const core::Pose& pose) override {}
46 
47  void onGoal(const core::Pose& goal) override;
48 
49  void success() override{};
50  void failure() override{};
51 
52  void
53  onGlobalShortestPath(const std::vector<core::Pose>& path) override
54  {
55  }
56 
57  void
58  onGlobalGraph(const core::Graph& graph) override
59  {
60  }
61 
62 
63  protected:
64  private:
66  const std::string clientID;
67  };
68 } // namespace armarx::navigation::server
armarx::navigation::server::MemoryIntrospector::onGlobalGraph
void onGlobalGraph(const core::Graph &graph) override
Definition: MemoryIntrospector.h:58
armarx::navigation::server::MemoryIntrospector::failure
void failure() override
Definition: MemoryIntrospector.h:50
armarx::navigation::core::Pose
Eigen::Isometry3f Pose
Definition: basic_types.h:31
armarx::navigation::server::MemoryIntrospector::onGlobalShortestPath
void onGlobalShortestPath(const std::vector< core::Pose > &path) override
Definition: MemoryIntrospector.h:53
armarx::navigation::server::MemoryIntrospector
Definition: MemoryIntrospector.h:33
MemoryNameSystem.h
IntrospectorInterface.h
armarx::navigation::server
This file is part of ArmarX.
Definition: EventPublishingInterface.h:10
armarx::navigation::server::MemoryIntrospector::onLocalPlannerResult
void onLocalPlannerResult(const std::optional< local_planning::LocalPlannerResult > &result) override
Definition: MemoryIntrospector.cpp:20
armarx::navigation::server::MemoryIntrospector::~MemoryIntrospector
~MemoryIntrospector() override=default
armarx::navigation::core::Graph
Definition: Graph.h:88
armarx::navigation::server::MemoryIntrospector::success
void success() override
Definition: MemoryIntrospector.h:49
armarx::navigation::global_planning::GlobalPlannerResult
Definition: GlobalPlanner.h:38
armarx::navigation::server::MemoryIntrospector::onRobotPose
void onRobotPose(const core::Pose &pose) override
Definition: MemoryIntrospector.h:45
armarx::navigation::server::IntrospectorInterface
Definition: IntrospectorInterface.h:35
armarx::navigation::memory::client::stack_result::Writer
Definition: Writer.h:35
armarx::navigation::server::MemoryIntrospector::onGlobalPlannerResult
void onGlobalPlannerResult(const global_planning::GlobalPlannerResult &result) override
Definition: MemoryIntrospector.cpp:14
Writer.h
armarx::navigation::server::MemoryIntrospector::MemoryIntrospector
MemoryIntrospector(memory::client::stack_result::Writer &globPlanWriter, const std::string &clientID)
Definition: MemoryIntrospector.cpp:7
armarx::navigation::server::MemoryIntrospector::onGoal
void onGoal(const core::Pose &goal) override
Definition: MemoryIntrospector.cpp:27