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

rt::ProfilePlugin Class Reference

The RoboTour profiler. More...

#include <robprofile.h>

Inheritance diagram for rt::ProfilePlugin:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual FpInterpretePos getInterpretePos ()
 Return when your plugin should be called to interprete the params. More...

virtual String getName ()
 Return a short, but specific name for your plugin.

virtual String getHelpText ()
 Return a String describing your plugin's parameters, or an empty string if you don't have any.

virtual bool interpreteParams (const Array< String > &params, Array< bool > &used)
 Return true if you want to continue creating a sim, using these params, or false if they're somehow invalid. More...

virtual void fillOptions (SimOptions &options)
 In this method, you can add your own SimSupervisors and TourDisplayer to the tournament.

ProfileMode getMode ()
 Get the profile mode.

void setMode (ProfileMode m)
 Sets the profile mode. Change has no effect after the tournament has been started. Also the profiler needs to be 'active'ated separately.

 ProfilePlugin (Frontend *parent)
 ~ProfilePlugin ()

Detailed Description

The RoboTour profiler.


Member Function Documentation

FpInterpretePos rt::ProfilePlugin::getInterpretePos (    )  [virtual]
 

Return when your plugin should be called to interprete the params.

See also:
FpInterpretePos

Implements rt::FrontendPlugin.

bool rt::ProfilePlugin::interpreteParams (  const Array< String > &    params,
Array< bool > &    used
)  [virtual]
 

Return true if you want to continue creating a sim, using these params, or false if they're somehow invalid.

For each parameter which is unique to your plugin and which doesn't have to be interpreted by the main Frontend, set used[i] to true.

Parameters:
used  Note: Size is one larger than params. (to make your life easier)

Implements rt::FrontendPlugin.


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