![]() |
MAK Legion API Documentation
|
Functions | |
| void | parseArgs (int argc, char **argv) |
| void | setMinMaxBoundary (Legion::BoundarySpatialPlanar &bounds, int minX, int minY, int maxX, int maxY) |
| void | fireEventCallback (Legion::Span< LOM::FireEvent > &fire) |
| void | listenShutDownHandler () |
| int | main (int argc, char **argv) |
Variables | |
| double | theFrameRate = 10 |
| int | MAX_GRID = 1000 |
| std::string | theConfigFile = "legionExamples.lua" |
| Legion::Configuration * | theConfiguration = nullptr |
| Legion::SimulationDatabase * | theSimDb = nullptr |
| Legion::Connection * | theConnection = nullptr |
| Legion::EventManager * | theEventManager = nullptr |
| LOM::EntityView * | theEntityView = nullptr |
| void fireEventCallback | ( | Legion::Span< LOM::FireEvent > & | fire | ) |
References Legion::Span< DATA_TYPE >::size().
Referenced by main().
| void listenShutDownHandler | ( | ) |
References Legion::ViewManager::destroyView(), theConfiguration, theConnection, theEntityView, theSimDb, and Legion::SimulationDatabase::viewManager().
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
References Legion::EventManager::addEventCallback(), Legion::SimulationDatabase::beginFrame(), Legion::ViewManager::createView(), Legion::SimulationDatabase::endFrame(), Legion::SimulationDatabase::eventManager(), fireEventCallback(), Legion::Connection::isConnected(), listenShutDownHandler(), MAX_GRID, parseArgs(), Legion::Remote, Legion::Connection::setAttributeSetInterest(), Legion::Connection::setIntent(), Legion::Connection::setInterest(), setMinMaxBoundary(), Legion::Connection::startProcessingMessages(), theBounds, theConfigFile, theEntityView, theFrameRate, Legion::SimulationDatabase::viewManager(), Legion::Connection::waitUntilDoneProcessingMessages(), Legion::Vector3d::x, Legion::Vector3d::y, and Legion::Vector3d::z.
| void parseArgs | ( | int | argc, |
| char ** | argv | ||
| ) |
| void setMinMaxBoundary | ( | Legion::BoundarySpatialPlanar & | bounds, |
| int | minX, | ||
| int | minY, | ||
| int | maxX, | ||
| int | maxY | ||
| ) |
| int MAX_GRID = 1000 |
| std::string theConfigFile = "legionExamples.lua" |
| Legion::Configuration* theConfiguration = nullptr |
| Legion::Connection* theConnection = nullptr |
| LOM::EntityView* theEntityView = nullptr |
Referenced by listenShutDownHandler(), and main().
| Legion::EventManager* theEventManager = nullptr |
| double theFrameRate = 10 |
| Legion::SimulationDatabase* theSimDb = nullptr |