![]() |
MAK Legion API Documentation
|
Contains the F-18 example. More...
Functions | |
| static int | keybrdTick (DtVehicleSim *) |
| void | registerConfigParameters () |
| void | parseArgs (int argc, char **argv) |
| void | f18ShutDownHandler () |
| int | main (int argc, char **argv) |
Variables | |
| std::string | theConfigFile = "f18.lua" |
| Legion::Configuration * | theConfiguration = nullptr |
| Legion::SimulationDatabase * | theSimDb = nullptr |
| Legion::EventManager * | theEventManager = nullptr |
| Legion::Connection * | theConnection = nullptr |
| Legion::BoundarySpatialPlanar | theBounds |
| MAK::SimTime | theSimTime |
| LOM::EntityView * | theReflectedEntityList = nullptr |
Contains the F-18 example.
| void f18ShutDownHandler | ( | ) |
References Legion::ViewManager::destroyView(), theConfiguration, theConnection, theReflectedEntityList, theSimDb, and Legion::SimulationDatabase::viewManager().
Referenced by main().
|
static |
References DtVehicleSim::fireMunition(), DtVehicleSim::setFrozen(), theSimTime, and DtVehicleSim::toggleEmissions().
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
References Legion::SimulationDatabase::beginFrame(), Legion::ViewManager::createView(), Legion::SimulationDatabase::endFrame(), Legion::SimulationDatabase::eventManager(), f18ShutDownHandler(), DtVehicleSim::init(), Legion::Connection::isConnected(), DtVehicleSim::isDestroyed(), keybrdTick(), Legion::Configuration::loadParameters(), Legion::Configuration::parameter(), parseArgs(), registerConfigParameters(), Legion::Remote, Legion::Connection::setIntent(), Legion::Connection::setInterest(), DtVehicleSim::setLethalDetonationRange(), Legion::BoundarySpatialPlanar::setLowerBound(), DtVehicleSim::setMunitionFlightTime(), Legion::BoundarySpatialPlanar::setUpperBound(), DtVehicleSim::simTick(), Legion::Connection::startProcessingMessages(), theConfigFile, theReflectedEntityList, theSimTime, DtVehicleSim::timeDestroyed(), Legion::SimulationDatabase::viewManager(), and Legion::Connection::waitUntilDoneProcessingMessages().
| void parseArgs | ( | int | argc, |
| char ** | argv | ||
| ) |
| void registerConfigParameters | ( | ) |
References Legion::Configuration::setParameter().
Referenced by main().
| Legion::BoundarySpatialPlanar theBounds |
| std::string theConfigFile = "f18.lua" |
| Legion::Configuration* theConfiguration = nullptr |
| Legion::Connection* theConnection = nullptr |
| Legion::EventManager* theEventManager = nullptr |
| LOM::EntityView* theReflectedEntityList = nullptr |
Referenced by f18ShutDownHandler(), and main().
| Legion::SimulationDatabase* theSimDb = nullptr |
| MAK::SimTime theSimTime |
Referenced by keybrdTick(), and main().