MemoryCommunicatorBase.h
Go to the documentation of this file.
1#ifndef MEMORYCOMMUNICATOR_H
2#define MEMORYCOMMUNICATOR_H
3
4#include <memory>
5
7
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
MemoryCommunicatorBase(std::shared_ptr< SkillManagerWrapper > _memory)
std::shared_ptr< SkillManagerWrapper > memory