![]() |
MAK Legion API Documentation
|
Functions | |
| void | parseArgs (int argc, char **argv) |
| void | setMinMaxBoundary (int minX, int minY, int maxX, int maxY) |
| bool | RegisterCustomEntityAttributes (Legion::SimulationDatabase *simDb) |
| void | shutDownHandler () |
| int | main (int argc, char *argv[]) |
Variables | |
| double | theFrameRate = 60 |
| int | MAX_GRID = 1000 |
| std::string | theConfigFile = "legionExamples.lua" |
| Legion::Configuration * | theConfiguration = nullptr |
| Legion::SimulationDatabase * | theSimDb = nullptr |
| Legion::Connection * | theConnection = nullptr |
| Legion::BoundarySpatialPlanar | theBounds |
| Legion::UInt32 | theGoalAttributeId |
| Legion::UInt32 | theMoveDelayAttributeId |
| LOM::WriteEntityRepository | theEntity |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
References Legion::SimulationDatabase::beginFrame(), Legion::SimulationDatabase::createInstance(), Legion::SimulationDatabase::endFrame(), Legion::Connection::isConnected(), MAX_GRID, parseArgs(), RegisterCustomEntityAttributes(), Legion::Connection::setIntent(), Legion::Connection::setInterest(), setMinMaxBoundary(), shutDownHandler(), Legion::Connection::startProcessingMessages(), theConfigFile, theEntity, theFrameRate, theMoveDelayAttributeId, and Legion::Connection::waitUntilDoneProcessingMessages().
| void parseArgs | ( | int | argc, |
| char ** | argv | ||
| ) |
References theConfigFile.
Referenced by main().
| bool RegisterCustomEntityAttributes | ( | Legion::SimulationDatabase * | simDb | ) |
References Legion::AttributeDescriptor::cardinality, Legion::Double, Legion::SimulationDatabase::findAttributeSetId(), Legion::AttributeDescriptor::name, Legion::NOT_REFLECTED, Legion::AttributeDescriptor::reflectedOnNetwork, Legion::SimulationDatabase::registerAttribute(), theGoalAttributeId, theMoveDelayAttributeId, Legion::AttributeDescriptor::type, and Legion::Vector3d.
Referenced by main().
| void setMinMaxBoundary | ( | int | minX, |
| int | minY, | ||
| int | maxX, | ||
| int | maxY | ||
| ) |
References Legion::BoundarySpatialPlanar::setLowerBound(), and Legion::BoundarySpatialPlanar::setUpperBound().
Referenced by main().
| void shutDownHandler | ( | ) |
References theConfiguration, theConnection, and theSimDb.
Referenced by main().
| int MAX_GRID = 1000 |
Referenced by main().
| Legion::BoundarySpatialPlanar theBounds |
Referenced by main().
| std::string theConfigFile = "legionExamples.lua" |
Referenced by main(), parseArgs(), parseArgsForConfigFile(), and printHelp().
| Legion::Configuration* theConfiguration = nullptr |
| Legion::Connection* theConnection = nullptr |
| LOM::WriteEntityRepository theEntity |
Referenced by main().
| double theFrameRate = 60 |
Referenced by main().
| Legion::UInt32 theGoalAttributeId |
Referenced by RegisterCustomEntityAttributes().
| Legion::UInt32 theMoveDelayAttributeId |
Referenced by main(), and RegisterCustomEntityAttributes().
| Legion::SimulationDatabase* theSimDb = nullptr |