#include <robfrontend.h>
Inheritance diagram for rt::Frontend:

Public Types | |
| enum | FightType { ftSingle = 0, ftCharts = 1, ftTop = 10, ftTopWithOld = 11, ftAllInOne = 30 } |
| The tournament type. | |
Public Methods | |
| virtual FrontendPlugin * | findPlugin (const String &name) |
| returns a pointer to the plugin with given 'name', if there is one otherwise returns NULL. | |
| virtual | ~Frontend () |
| virtual void | reset () |
| reset the Frontend for a new tournament. | |
| bool | interpreteParams (const Array< String > ¶ms) |
| Calls interpreteParams() of the plugins, then the impl() method. | |
| virtual void | fillOptions (SimOptions &options) |
| Derived classes should call Frontend::fillOptions() in their xxxFrontend::fillOptions() somewhere to process the standard things (noRandom, numRepeats, optionFile). | |
| virtual SimManager * | getManager () |
| creates the manager first if not already done. | |
Public Attributes | |
| bool | doAllAgain |
| do another tournament? normally false. | |
| FightType | fightType |
| The tournament type. | |
| int | fightTypeParam |
| A type-specific parameter to the tournament type. | |
| String | competitionFolder |
| The competition folder (not only for top mode!) This does apply to robot files (on the command line) and to results files. | |
| bool | noRandom |
| Create reproducable results (as far as possible). | |
| int | numRepeats |
| Repeat amount for each simulation. | |
| String | optionFile |
| The option ("RCO") file (or resource) containing all global settings. | |
| Vector< String > | files |
| The robot files. | |
Protected Methods | |
| virtual void | initPlugins () |
| adds a plugin of every type to the plugin list. | |
| Frontend () | |
| inits the plugins. | |
| virtual bool | interpreteParamsImpl (const Array< String > ¶ms, Array< bool > &used)=0 |
| Return true if you want to continue creating a sim, using these params, or false if they're somehow invalid. More... | |
Protected Attributes | |
| List< FrontendPlugin * > | plugins |
| Contains one of all available frontend plugins. | |
| SimManager * | manager |
|
||||||||||||
|
Return true if you want to continue creating a sim, using these params, or false if they're somehow invalid.
|