![]() |
MAK Legion API Documentation
|
Contains a simple example to add custom attributes to the STE entity set. More...
Functions | |
| void | parseArgs (int argc, char **argv) |
| void | setMinMaxBoundary (int minX, int minY, int maxX, int maxY) |
| void | talkShutDownHandler () |
| 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::EventManager * | theEventManager = nullptr |
| Legion::Connection * | theConnection = nullptr |
| Legion::BoundarySpatialPlanar | theBounds |
Contains a simple example to add custom attributes to the STE entity set.
Contains a simple talk example.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
References Legion::EventManager::addEvent(), Legion::SimulationDatabase::beginFrame(), Legion::EventManager::createEvent(), Legion::SimulationDatabase::createInstance(), Legion::SimulationDatabase::endFrame(), Legion::SimulationDatabase::eventManager(), Legion::Connection::isConnected(), MAX_GRID, parseArgs(), Legion::Connection::setIntent(), Legion::Connection::setInterest(), setMinMaxBoundary(), Legion::Connection::startProcessingMessages(), talkShutDownHandler(), theConfigFile, theFrameRate, Legion::Connection::waitUntilDoneProcessingMessages(), Legion::Vector3d::x, Legion::Vector3d::y, and Legion::Vector3d::z.
| void parseArgs | ( | int | argc, |
| char ** | argv | ||
| ) |
| void setMinMaxBoundary | ( | int | minX, |
| int | minY, | ||
| int | maxX, | ||
| int | maxY | ||
| ) |
| void talkShutDownHandler | ( | ) |
References theConfiguration, theConnection, and theSimDb.
Referenced by main().
| int MAX_GRID = 1000 |
| Legion::BoundarySpatialPlanar theBounds |
| std::string theConfigFile = "legionExamples.lua" |
| Legion::Configuration* theConfiguration = nullptr |
| Legion::Connection* theConnection = nullptr |
| Legion::EventManager* theEventManager = nullptr |
| double theFrameRate = 10 |
| Legion::SimulationDatabase* theSimDb = nullptr |