Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

rt::ExecSupervisor Class Reference

Another interface for supervising simulations. More...

#include <robbase.h>

Inheritance diagram for rt::ExecSupervisor:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual void initSim (Simulation *const curSim)
 Init your supervisor to this new simulation. More...

virtual void onExec (Instr *instr, Bank *bank, Task *task)=0
 This method will be called whenever an instruction is executed. More...

virtual void exitSim (Simulation *const curSim)
 Process the end of a simulation. More...

virtual ~ExecSupervisor ()

Protected Methods

 ExecSupervisor ()

Detailed Description

Another interface for supervising simulations.


Member Function Documentation

void rt::ExecSupervisor::exitSim (  Simulation *const    curSim )  [virtual]
 

Process the end of a simulation.

The method of class ExecSupervisor just does nothing. This method will be called on every ExecSupervisor exactly once after the current simulation has finished.

Parameters:
curSim  The finished simulation.
simResult  The simulation result.

void rt::ExecSupervisor::initSim (  Simulation *const    curSim )  [virtual]
 

Init your supervisor to this new simulation.

The method of class ExecSupervisor just does nothing. This method will be called on every registered ExecSupervisor exactly once before the new simulation starts.

virtual void rt::ExecSupervisor::onExec (  Instr *    instr,
Bank *    bank,
Task *    task
)  [pure virtual]
 

This method will be called whenever an instruction is executed.

Parameters:
instr  The instruction to be executed.
bank  The bank to which that instruction belongs.
task  The active task of the robot on which it will be executed.


The documentation for this class was generated from the following files:
This is the RoboTour API documentation version 0.1 • Copyright (C) by Florian Fischer