8 #include <vlutil/vlUtil.h>
39 static const bool hasEnoughArguments(
const int minNumberOfArguments,
const std::vector<std::string>& args);
214 static void backendAddedCb(
const DtSimulationAddress& addr,
void* usr);
221 static void backendLoadedCb(
const DtSimulationAddress& addr,
void* usr);
231 const DtString& name,
const DtEntityIdentifier&
id,
const DtUUID& uuid,
void* usr);
237 const std::vector<DtSimStatement*>& statements,
bool append,
void* usr);
261 const bool parsePoint(
const std::string& pointString, DtVector& returnVector);
266 const std::vector<std::string>
parseCommand(
const std::string& rawCommand);
UUID is a unique ID wrapper class.
Definition: uuid.h:59
DtSimulationStatus
Definition: backend.h:26
static DtCommandStatus listCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
static void ProcessResourceResponse(const makVrfEvents::DtEvent &)
virtual DtCommandStatus createAggregate(const std::vector< std::string > &args)
virtual DtCommandStatus createRoute(const std::vector< std::string > &args)
static DtCommandStatus takeSnapshotCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
static DtCommandStatus aggregateCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
DtCommandLineRemoteController(makVrf::DtVrlinkVrfRemoteController *controller)
static void ScenarioSavedCb(void *usr)
static DtCommandStatus timemultiplierCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
static DtCommandStatus helpCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
virtual DtCommandStatus createTank(const std::vector< std::string > &args)
bool myTimeToQuit
Definition: commandLineRemoteController.h:270
static unsigned int theNextAggregateId
Definition: commandLineRemoteController.h:273
virtual DtCommandStatus printEnv(const std::vector< std::string > &args)
static DtCommandStatus listSnapshotsCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
virtual void bigRoute(int iPoints)
static DtCommandStatus bigRouteCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
static DtCommandStatus newCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
virtual DtCommandStatus follow(const std::vector< std::string > &args)
static DtCommandStatus simrunCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
static void backendRemovedCb(const DtSimulationAddress &addr, void *usr)
static DtCommandStatus pauseCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
const std::vector< std::string > parseCommand(const std::string &rawCommand)
static DtCommandStatus simulationStatusCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
This class is a specialization of the DtVrfRemoteController for use with a VR-Link exercise connectio...
Definition: vrlinkVrfRemoteController.h:44
virtual DtCommandStatus patrolRoute(const std::vector< std::string > &args)
class DtBackendMap:
Definition: backendMap.h:21
virtual DtCommandStatus setTarget(const std::vector< std::string > &args)
bool myRemoveListCallback
Definition: commandLineRemoteController.h:275
void processCommand(const std::string buff)
static DtCommandStatus turnOnSnapshotsCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
void setRemoveListCallback(bool b)
Definition: commandLineRemoteController.h:247
virtual DtCommandStatus setSystemEnabled(const std::vector< std::string > &args)
static DtCommandStatus quitCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
static void backendSavedCb(const DtSimulationAddress &addr, DtSaveResult result, void *usr)
static DtCommandStatus taskCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
static DtCommandStatus createCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
class DtSimBlock:
Definition: simBlock.h:27
static DtCommandStatus etrfireatCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
DtSaveResult
Definition: ifSaveComplete.h:18
static void printBlock(const DtSimBlock *stmt, int indent=1)
static void printStatement(const DtSimStatement *stmt, int indent=1)
static DtCommandStatus printCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
static DtCommandStatus rewindCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
virtual void setTimeToQuit(bool yesNo)
static void backendLoadedCb(const DtSimulationAddress &addr, void *usr)
virtual makVrf::DtVrlinkVrfRemoteController * controller() const
Definition: commandLineRemoteController.h:15
File: simMsg.h.
Definition: simMessage.h:35
static unsigned int theNextSubordinateId
Definition: commandLineRemoteController.h:274
static const bool hasEnoughArguments(const int minNumberOfArguments, const std::vector< std::string > &args)
static DtCommandStatus removeMonitorResourcesCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
static void backendAddedCb(const DtSimulationAddress &addr, void *usr)
int kbInterest
Definition: commandLineRemoteController.h:279
static DtCommandStatus monitorResourcesCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
static DtCommandStatus deleteCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
static DtCommandStatus closeCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
virtual DtCommandStatus moveToPoint(const std::vector< std::string > &args)
makVrf::DtVrlinkVrfRemoteController * myController
Definition: commandLineRemoteController.h:271
virtual void printSimulationStatus(DtSimulationStatus)
static DtCommandStatus loadCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
virtual DtCommandStatus setLabel(const std::vector< std::string > &args)
static void vrfObjectCreatedCb(const DtString &name, const DtEntityIdentifier &id, const DtUUID &uuid, void *usr)
Small container class that holds the status of a running DtPlan.
Definition: plan.h:45
static DtCommandStatus rollbackToSnapshotCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
virtual ~DtCommandLineRemoteController()
static DtCommandStatus timeCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
static void planCb(const DtUUID &name, const std::vector< DtSimStatement * > &statements, bool append, void *usr)
virtual DtCommandStatus wait(const std::vector< std::string > &args)
static DtCommandStatus setCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
static DtCommandStatus runCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
class DtSimStatement:
Definition: simStatement.h:38
virtual bool timeToQuit() const
virtual void listSnapshots()
static DtCommandStatus simpauseCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
virtual DtCommandStatus setPlan(const std::vector< std::string > &args)
Definition: commandLineRemoteController.h:15
virtual DtCommandStatus setFuel(const std::vector< std::string > &args)
virtual DtCommandStatus setLocation(const std::vector< std::string > &args)
virtual DtCommandStatus createAerodrome(const std::vector< std::string > &args)
static void planStmtCb(const DtUUID &id, DtPlanStatus status, void *usr)
static DtCommandStatus turnOffSnapshotsCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
const bool parsePoint(const std::string &pointString, DtVector &returnVector)
Definition: commandLineRemoteController.h:18
static void simulationStatusChanged(DtSimulationStatus, void *usr)
static void planCompleteCb(const DtUUID &id, void *usr)
static bool missingBackends(DtBackendMap *map, const std::set< DtSimulationAddress > ¤tBackends, void *usr)
virtual DtCommandStatus setRestore(const std::vector< std::string > &args)
Definition: commandLineRemoteController.h:15
DtCommandStatus
Definition: commandLineRemoteController.h:15
static void scenarioSnapshotResponseCb(DtSimMessage *msg, void *usr)
static void ScenarioLoadedCb(void *usr)
Definition: commandLineRemoteController.h:15
static DtCommandStatus saveCommand(const std::vector< std::string > &args, DtCommandLineRemoteController *a)
virtual DtCommandStatus createWaypoint(const std::vector< std::string > &args)