MemoryIntrospector.cpp
Go to the documentation of this file.
1 #include "MemoryIntrospector.h"
2 
3 #include <optional>
4 #include <string>
5 
10 
12 {
14  const std::string& clientID) :
15  globPlanWriter(globPlanWriter), clientID(clientID)
16  {
17  }
18 
19  void
21  {
22  globPlanWriter.store(result, clientID);
23  }
24 
25  void
27  const std::optional<local_planning::LocalPlannerResult>& result)
28  {
29  // TODO(fabian.reister): implement
30  }
31 
32  void
34  {
35  // TODO(fabian.reister): implement
36  }
37 
38  // void
39  // MemoryIntrospector::onStackResult(const StackResult& result)
40  // {
41  // globPlanWriter.store(result, clientID);
42  // // TODO(fabian.reister): add more
43  // }
44 } // namespace armarx::navigation::server
armarx::navigation::core::Pose
Eigen::Isometry3f Pose
Definition: basic_types.h:31
basic_types.h
LocalPlanner.h
armarx::navigation::server
This file is part of ArmarX.
Definition: EventPublishingInterface.h:6
armarx::navigation::server::MemoryIntrospector::onLocalPlannerResult
void onLocalPlannerResult(const std::optional< local_planning::LocalPlannerResult > &result) override
Definition: MemoryIntrospector.cpp:26
GlobalPlanner.h
armarx::navigation::global_planning::GlobalPlannerResult
Definition: GlobalPlanner.h:38
MemoryIntrospector.h
armarx::navigation::memory::client::stack_result::Writer
Definition: Writer.h:37
armarx::navigation::memory::client::stack_result::Writer::store
bool store(const server::StackResult &result, const std::string &clientID)
Definition: Writer.cpp:22
armarx::navigation::server::MemoryIntrospector::onGlobalPlannerResult
void onGlobalPlannerResult(const global_planning::GlobalPlannerResult &result) override
Definition: MemoryIntrospector.cpp:20
Writer.h
armarx::navigation::server::MemoryIntrospector::MemoryIntrospector
MemoryIntrospector(memory::client::stack_result::Writer &globPlanWriter, const std::string &clientID)
Definition: MemoryIntrospector.cpp:13
armarx::navigation::server::MemoryIntrospector::onGoal
void onGoal(const core::Pose &goal) override
Definition: MemoryIntrospector.cpp:33