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
25#include <optional>
26#include <string>
27#include <vector>
28
35
37{
38
40 {
41 public:
43 const std::string& clientID);
44 ~MemoryIntrospector() override = default;
45
46
48 void onGlobalPlannerSubdivision(const GlobalPathSubdivision& subdivision) override;
49
51 const std::optional<local_planning::LocalPlannerResult>& result) override;
52
53 void
54 onRobotPose(const core::Pose& pose) override
55 {
56 }
57
58 void onGoal(const core::Pose& goal) override;
59
60 void success() override {};
61 void failure() override {};
62
63 void
64 onGlobalShortestPath(const std::vector<core::Pose>& path) override
65 {
66 }
67
68 void
70 {
71 }
72
73
74 protected:
75 private:
77 const std::string clientID;
78 };
79} // namespace armarx::navigation::server
void onRobotPose(const core::Pose &pose) override
void onGlobalShortestPath(const std::vector< core::Pose > &path) override
MemoryIntrospector(memory::client::stack_result::Writer &globPlanWriter, const std::string &clientID)
void onGlobalGraph(const core::Graph &graph) override
void onGlobalPlannerResult(const global_planning::GlobalPlannerResult &result) override
void onGlobalPlannerSubdivision(const GlobalPathSubdivision &subdivision) override
void onGoal(const core::Pose &goal) override
void onLocalPlannerResult(const std::optional< local_planning::LocalPlannerResult > &result) override
Eigen::Isometry3f Pose
Definition basic_types.h:31
This file is part of ArmarX.
Definition Visu.h:48
This file is part of ArmarX.