VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Attributes
DtTextInterface Class Reference

Public Member Functions

 DtTextInterface (DtVrfRemoteController *controller)
virtual ~DtTextInterface ()
void readStdin ()
void createScenario (char *str)
virtual void setTimeToQuit (bool yesNo)
virtual bool timeToQuit () const
virtual bool scenarioLoaded () const
void prompt ()
virtual DtVrfRemoteControllercontroller () const
virtual void createTank (char *str)
virtual void createWanderTask ()
 DtTextInterface (DtVrfRemoteController *controller)
virtual ~DtTextInterface ()
void readStdin ()
virtual void setTimeToQuit (bool yesNo)
virtual bool timeToQuit () const
virtual DtVrfRemoteControllercontroller () const
virtual void createWaypoint (char *str)
virtual void createRoute (char *str)
virtual void createTank (char *str)
virtual void createAggregate (char *str)
virtual void setPlan (char *str)
virtual void setLabel (char *str)
virtual void setLocation (char *str)
virtual void setFuel (char *str)
virtual void setTarget (char *str)
virtual void setRestore (char *str)
virtual void patrolRoute (char *str)
virtual void moveToPoint (char *str)
virtual void follow (char *str)
virtual void wait (char *str)
virtual void bigRoute (int iPoints)

Static Public Member Functions

static void scenarioLoadedCb (void *usr)
static void vrfObjectCreatedCb (const DtString &name, const DtEntityIdentifier &id, void *usr)
static void listCmd (char *s, DtTextInterface *a)
static void loadCmd (char *s, DtTextInterface *a)
static bool missingBackends (DtBackendMap *map, void *usr)
static void newCmd (char *s, DtTextInterface *a)
static void saveCmd (char *s, DtTextInterface *a)
static void createCmd (char *s, DtTextInterface *a)
static void setCmd (char *s, DtTextInterface *a)
static void taskCmd (char *s, DtTextInterface *a)
static void aggregateCmd (char *s, DtTextInterface *a)
static void deleteCmd (char *s, DtTextInterface *a)
static void closeCmd (char *s, DtTextInterface *a)
static void monitorResourcesCmd (char *s, DtTextInterface *a)
static void removeMonitorResourcesCmd (char *s, DtTextInterface *a)
static void rewindCmd (char *s, DtTextInterface *a)
static void runCmd (char *s, DtTextInterface *a)
static void pauseCmd (char *s, DtTextInterface *a)
static void simrunCmd (char *s, DtTextInterface *a)
static void simpauseCmd (char *s, DtTextInterface *a)
static void quitCmd (char *s, DtTextInterface *a)
static void helpCmd (char *s, DtTextInterface *a)
static void bigRouteCmd (char *s, DtTextInterface *a)
static void backendAddedCb (const DtSimulationAddress &addr, void *usr)
static void backendRemovedCb (const DtSimulationAddress &addr, void *usr)
static void backendLoadedCb (const DtSimulationAddress &addr, void *usr)
static void backendSavedCb (const DtSimulationAddress &addr, DtSaveResult result, void *usr)
static void ScenarioLoadedCb (void *usr)
static void ScenarioSavedCb (void *usr)
static void vrfObjectCreatedCb (const DtString &name, const DtEntityIdentifier &id, void *usr)
static void planCb (const DtString &name, const DtList &stmts, bool append, void *usr)
static void planStmtCb (const DtString &id, DtPlanStatus status, void *usr)
static void planCompleteCb (const DtString &id, void *usr)
static void resourcesProcessedCb (DtSimMessage *msg, void *usr)
static void objectConsoleMessageCb (const DtEntityIdentifier &id, int notifyLevel, const DtString &message, void *usr)

Protected Member Functions

void prompt ()
void processCmd (char *buff)

Protected Attributes

bool myTimeToQuit
DtVrfRemoteControllermyController
DtSelectParam sparam

Static Protected Attributes

static bool myScenarioLoaded
static bool myTankCreated
static DtString myMsg
static unsigned int theNextAggregateId
static unsigned int theNextSubordinateId

Private Attributes

int kbInterest

Constructor & Destructor Documentation

DtTextInterface::DtTextInterface ( DtVrfRemoteController controller)
virtual DtTextInterface::~DtTextInterface ( )
virtual
DtTextInterface::DtTextInterface ( DtVrfRemoteController controller)
virtual DtTextInterface::~DtTextInterface ( )
virtual

Member Function Documentation

void DtTextInterface::readStdin ( )
void DtTextInterface::createScenario ( char *  str)
virtual void DtTextInterface::setTimeToQuit ( bool  yesNo)
virtual
virtual bool DtTextInterface::timeToQuit ( ) const
virtual
virtual bool DtTextInterface::scenarioLoaded ( ) const
virtual
void DtTextInterface::prompt ( )
virtual DtVrfRemoteController* DtTextInterface::controller ( ) const
virtual
virtual void DtTextInterface::createTank ( char *  str)
virtual
virtual void DtTextInterface::createWanderTask ( )
virtual
static void DtTextInterface::scenarioLoadedCb ( void *  usr)
static
static void DtTextInterface::vrfObjectCreatedCb ( const DtString name,
const DtEntityIdentifier &  id,
void *  usr 
)
static
void DtTextInterface::readStdin ( )
virtual void DtTextInterface::setTimeToQuit ( bool  yesNo)
virtual
virtual bool DtTextInterface::timeToQuit ( ) const
virtual
virtual DtVrfRemoteController* DtTextInterface::controller ( ) const
virtual
virtual void DtTextInterface::createWaypoint ( char *  str)
virtual
virtual void DtTextInterface::createRoute ( char *  str)
virtual
virtual void DtTextInterface::createTank ( char *  str)
virtual
virtual void DtTextInterface::createAggregate ( char *  str)
virtual
virtual void DtTextInterface::setPlan ( char *  str)
virtual
virtual void DtTextInterface::setLabel ( char *  str)
virtual
virtual void DtTextInterface::setLocation ( char *  str)
virtual
virtual void DtTextInterface::setFuel ( char *  str)
virtual
virtual void DtTextInterface::setTarget ( char *  str)
virtual
virtual void DtTextInterface::setRestore ( char *  str)
virtual
virtual void DtTextInterface::patrolRoute ( char *  str)
virtual
virtual void DtTextInterface::moveToPoint ( char *  str)
virtual
virtual void DtTextInterface::follow ( char *  str)
virtual
virtual void DtTextInterface::wait ( char *  str)
virtual
virtual void DtTextInterface::bigRoute ( int  iPoints)
virtual
static void DtTextInterface::listCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::loadCmd ( char *  s,
DtTextInterface a 
)
static
static bool DtTextInterface::missingBackends ( DtBackendMap map,
void *  usr 
)
static
static void DtTextInterface::newCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::saveCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::createCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::setCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::taskCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::aggregateCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::deleteCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::closeCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::monitorResourcesCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::removeMonitorResourcesCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::rewindCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::runCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::pauseCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::simrunCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::simpauseCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::quitCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::helpCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::bigRouteCmd ( char *  s,
DtTextInterface a 
)
static
static void DtTextInterface::backendAddedCb ( const DtSimulationAddress &  addr,
void *  usr 
)
static
static void DtTextInterface::backendRemovedCb ( const DtSimulationAddress &  addr,
void *  usr 
)
static
static void DtTextInterface::backendLoadedCb ( const DtSimulationAddress &  addr,
void *  usr 
)
static
static void DtTextInterface::backendSavedCb ( const DtSimulationAddress &  addr,
DtSaveResult  result,
void *  usr 
)
static
static void DtTextInterface::ScenarioLoadedCb ( void *  usr)
static
static void DtTextInterface::ScenarioSavedCb ( void *  usr)
static
static void DtTextInterface::vrfObjectCreatedCb ( const DtString name,
const DtEntityIdentifier &  id,
void *  usr 
)
static
static void DtTextInterface::planCb ( const DtString name,
const DtList &  stmts,
bool  append,
void *  usr 
)
static
static void DtTextInterface::planStmtCb ( const DtString id,
DtPlanStatus  status,
void *  usr 
)
static
static void DtTextInterface::planCompleteCb ( const DtString id,
void *  usr 
)
static
static void DtTextInterface::resourcesProcessedCb ( DtSimMessage msg,
void *  usr 
)
static
static void DtTextInterface::objectConsoleMessageCb ( const DtEntityIdentifier &  id,
int  notifyLevel,
const DtString message,
void *  usr 
)
static
void DtTextInterface::prompt ( )
protected
void DtTextInterface::processCmd ( char *  buff)
protected

Member Data Documentation

bool DtTextInterface::myTimeToQuit
protected
DtVrfRemoteController * DtTextInterface::myController
protected
bool DtTextInterface::myScenarioLoaded
staticprotected
bool DtTextInterface::myTankCreated
staticprotected
DtString DtTextInterface::myMsg
staticprotected
DtSelectParam DtTextInterface::sparam
protected
unsigned int DtTextInterface::theNextAggregateId
staticprotected
unsigned int DtTextInterface::theNextSubordinateId
staticprotected
int DtTextInterface::kbInterest
private

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)