Fawkes API Fawkes Development Version
fawkes::RobotMemoryIniFin Class Reference

RobotMemoryAspect initializer/finalizer. More...

#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 void init (Thread *thread)=0
 Initialize thread. More...
 
virtual void finalize (Thread *thread)=0
 Finalize thread. 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 30 of file robot_memory_inifin.h.

Constructor & Destructor Documentation

◆ RobotMemoryIniFin()

fawkes::RobotMemoryIniFin::RobotMemoryIniFin ( )

Definition at line 32 of file robot_memory_inifin.cpp.

Member Function Documentation

◆ finalize()

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

Finilize.

Parameters
threadthread

Implements fawkes::AspectIniFin.

Definition at line 61 of file robot_memory_inifin.cpp.

References fawkes::Thread::name().

◆ init()

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

Initialize.

Parameters
threadthread

Implements fawkes::AspectIniFin.

Definition at line 40 of file robot_memory_inifin.cpp.

References fawkes::Thread::name().

◆ 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 79 of file robot_memory_inifin.cpp.

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


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