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

robotour.cpp File Reference

Interpretes command line parameters, and holds RoboTour together. More...

#include <rtstring.h>
#include <rtcollect.h>
#include <rtlist.h>
#include <rtnetwork.h>
#include <rtfile.h>
#include "robvars.h"
#include "robglob.h"
#include "robfrontend.h"
#include "robconsole.h"
#include "robmanage.h"
#include "robloader.h"
#include "robbase.h"
#include "robpackage.h"
#include "resources.rh"
#include <rtmain.h>

Namespaces

namespace  rt

Enumerations

enum  WhichFrontend { UseTeleFrontend, UseWxFrontend, UseConsoleFrontend }
 Since rtmain.h includes system includes, we may not import any namespace in this file. More...


Functions

WhichFrontend selectFrontend (const lrt::Array< lrt::String > &args)
rt::Frontend * createFrontend (WhichFrontend fe)
int rtRun (const lrt::Array< lrt::String > &args)
int rtMain (const lrt::Array< lrt::String > &args)
 The main function for libRT users. More...


Detailed Description

Interpretes command line parameters, and holds RoboTour together.


Enumeration Type Documentation

enum WhichFrontend
 

Since rtmain.h includes system includes, we may not import any namespace in this file.

Only in this file, really.


Function Documentation

int rtMain (  const lrt::Array< lrt::String > &    args ) 
 

The main function for libRT users.

Every application using libRT should implement this function, rather than the system-dependent one.

Parameters:
args  The application's command line arguments. Note that they do not include the executable name.
Returns:
The application's return code.
See also:
lrt::File::getExecutableFile()


This is the RoboTour API documentation version 0.1 • Copyright (C) by Florian Fischer