![]() |
VR-Forces 5.0.2 Developer's Guide
|
This class will, given the current front-end protocol, start a back-end with the command line arguments available to communicate with the front-end given the simulation address. It will start as a detached process, and, if the flag to tie it to the front-end is true, will also send the front-end PID such that when the front-end exits the back-end will too, as if it has started in combined mode.

Public Types | |
| typedef boost::function< bool(const DtSimulationAddress &, makVrv::DtVrlinkDriver *, makVrv::DtUnicode &error, bool startCombined)> | StartupFunction |
Public Member Functions | |
| DtSimulationBackendStartupHelper (makVrv::DtDe &) | |
| virtual | ~DtSimulationBackendStartupHelper () |
| virtual bool | startBackend (const DtSimulationAddress &, makVrv::DtUnicode &eror, bool startCombined=true) |
| virtual void | addStartupFunction (const std::string &, StartupFunction) |
| virtual std::vector< std::string > | getCommonCommandLineArguments (const DtSimulationAddress &addr, makVrv::DtVrlinkDriver *, bool startCombined) const |
| virtual std::vector< std::string > | getCommonHLAArguments (makVrv::DtVrlinkDriver *) const |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtSimulationBackendStartupHelper & | instance (makVrv::DtDe &de) |
| static void | registerInstance (makVrv::DtDe &, DtSimulationBackendStartupHelper *) |
Protected Types | |
| typedef std::map< std::string, StartupFunction > | StartupFunctions |
Protected Member Functions | |
| virtual bool | startupDIS (const DtSimulationAddress &, makVrv::DtVrlinkDriver *, makVrv::DtUnicode &error, bool startCombined) |
| virtual bool | startupHLA13 (const DtSimulationAddress &, makVrv::DtVrlinkDriver *, makVrv::DtUnicode &error, bool startCombined) |
| virtual bool | startupHLA1516 (const DtSimulationAddress &, makVrv::DtVrlinkDriver *, makVrv::DtUnicode &error, bool startCombined) |
| virtual bool | startupHLA1516e (const DtSimulationAddress &, makVrv::DtVrlinkDriver *, makVrv::DtUnicode &error, bool startCombined) |
| virtual bool | startBackend (const DtFilename &location, const DtFilename &appName, const std::vector< std::string > &arguments) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| StartupFunctions | myStartupFunctions |
| typedef boost::function<bool (const DtSimulationAddress&, makVrv::DtVrlinkDriver*, makVrv::DtUnicode& error, bool startCombined)> makVrf::DtSimulationBackendStartupHelper::StartupFunction |
Prototype for function that can be called for a given driver to start a back-end.
|
protected |
| makVrf::DtSimulationBackendStartupHelper::DtSimulationBackendStartupHelper | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
Returns instance of the DtSimulationBackendStartupHelper.
|
static |
|
virtual |
Starts the back-end with the given simulation address. Will return false if there is a failure and the error string will contain the reason why.
|
virtual |
Adds a new server startup function by driver name (DtDisDriver, DtHla13Driver, DtHla1516Driver, DtHla1516eDriver) to be called to start a back-end.
|
virtual |
Will return common arguments that are used for all protocols based on the driver.
|
virtual |
Get common HLA arguments.
|
protectedvirtual |
Various startup functions.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |