MemoryCommunicatorBase.h
Go to the documentation of this file.
1 #ifndef MEMORYCOMMUNICATOR_H
2 #define MEMORYCOMMUNICATOR_H
3 
4 #include <memory>
5 
6 #include "SkillManagerWrapper.h"
7 
8 namespace armarx::skills::gui
9 {
10  /*
11  * This is a convenience base class to prevent repeatedly putting the SkillManagerWrapper in
12  * every widget.
13  */
15  {
16  protected:
17  // We don't want to instantiate the base class
18  MemoryCommunicatorBase(std::shared_ptr<SkillManagerWrapper> _memory) : memory(_memory)
19  {
20  }
21 
22  // The interface of the memory, used by the skill memory gui
23  std::shared_ptr<SkillManagerWrapper> memory;
24  };
25 } // namespace armarx::skills::gui
26 
27 #endif // MEMORYCOMMUNICATOR_H
armarx::skills::gui::MemoryCommunicatorBase::memory
std::shared_ptr< SkillManagerWrapper > memory
Definition: MemoryCommunicatorBase.h:23
armarx::memory
Brief description of class memory.
Definition: memory.h:39
SkillManagerWrapper.h
armarx::skills::gui
Definition: PeriodicUpdateWidget.cpp:11
armarx::skills::gui::MemoryCommunicatorBase::MemoryCommunicatorBase
MemoryCommunicatorBase(std::shared_ptr< SkillManagerWrapper > _memory)
Definition: MemoryCommunicatorBase.h:18
armarx::skills::gui::MemoryCommunicatorBase
Definition: MemoryCommunicatorBase.h:14