21 #include "robot_memory_inifin.h" 32 RobotMemoryIniFin::RobotMemoryIniFin() : AspectIniFin(
"RobotMemoryAspect")
43 robot_memory_thread = dynamic_cast<RobotMemoryAspect *>(thread);
44 if (robot_memory_thread == NULL) {
46 "RobotMemoryAspect, but RTTI says it " 54 robot_memory_thread->init_RobotMemoryAspect(robot_memory_);
64 robot_memory_thread = dynamic_cast<RobotMemoryAspect *>(thread);
65 if (robot_memory_thread == NULL) {
67 "RobotMemoryAspect, but RTTI says it " 71 robot_memory_thread->finalize_RobotMemoryAspect();
81 robot_memory_ = robot_memory;
Thread aspect to get access to a the RobotMemory.
Fawkes library namespace.
Thread class encapsulation of pthreads.
virtual void finalize(Thread *thread)
Finilize.
Thread cannot be initialized.
void set_robot_memory(RobotMemory *robot_memory)
Set the reference to the robot memory for the aspect.
const char * name() const
Get name of thread.
virtual void init(Thread *thread)
Initialize.
Access to the robot memory based on mongodb.