Fawkes API  Fawkes Development Version
fawkes::RobotMemoryIniFin Class Reference

#include <robot_memory_inifin.cpp>

Inheritance diagram for fawkes::RobotMemoryIniFin:

Public Member Functions

virtual void init (Thread *thread)
 Initialize. More...
 
virtual void finalize (Thread *thread)
 Finilize. More...
 
void set_robot_memory (RobotMemory *robot_memory)
 Set the reference to the robot memory for the aspect. More...
 
- Public Member Functions inherited from fawkes::AspectIniFin
 AspectIniFin (const char *aspect_name) __attribute__((nonnull))
 Constructor. More...
 
virtual ~AspectIniFin ()
 Virtual empty destructor. More...
 
virtual bool prepare_finalize (Thread *thread)
 Default finalize preparation. More...
 
const char * get_aspect_name () const
 Get aspect name. More...
 

Detailed Description

RobotMemoryAspect initializer/finalizer. This initializer/finalizer will provide the RobotMemory to threads with the RobotMemoryAspect.

Author
Frederik Zwilling

Definition at line 36 of file robot_memory_inifin.h.

Member Function Documentation

◆ finalize()

void fawkes::RobotMemoryIniFin::finalize ( Thread thread)
virtual

Finilize.

Parameters
threadthread

Implements fawkes::AspectIniFin.

Definition at line 67 of file robot_memory_inifin.cpp.

◆ init()

void fawkes::RobotMemoryIniFin::init ( Thread thread)
virtual

Initialize.

Parameters
threadthread

Implements fawkes::AspectIniFin.

Definition at line 46 of file robot_memory_inifin.cpp.

◆ set_robot_memory()

void fawkes::RobotMemoryIniFin::set_robot_memory ( RobotMemory robot_memory)

Set the reference to the robot memory for the aspect.

Parameters
robot_memoryRobot Memory

Definition at line 85 of file robot_memory_inifin.cpp.

Referenced by RobotMemoryThread::finalize(), and RobotMemoryThread::init().


The documentation for this class was generated from the following files: