![]() |
MAK Legion 1.1 API Documentation
|
Functions | |
| const std::string | theName ("give") |
| std::string | thePrivateData ("#Test Private Data#") |
| void | processArgumentsAndConfiguration (int argc, char *argv[], Legion::Configuration &configuration) |
| void | setMinMaxBoundary (Legion::BoundarySpatialPlanar &boundary, float minX, float minY, float maxX, float maxY) |
| void | processOwnershipDivestitureRequest (Legion::TransactionIdentifier transactionId, Legion::Span< Legion::InstanceHandle > instanceIds, Legion::Span< char > privateData) |
| const std::string & | getPrivateData (Legion::Span< char > privateData) |
| int | main (int argc, char *argv[]) |
Variables | |
| std::string | theConfigFile = "legionExamples.lua" |
| float | theFrameRate = 10.0 |
| float | theReferenceLatitude = 0.0 |
| float | theReferenceLongitude = 0.0 |
| LOM::WriteEntityRepository | theEntityToDivest |
| bool | theDoDivest = false |
| bool | theDoReject = false |
| double | theTimeToCreate = 0.0 |
| double | theCreateDelay = 1.0 |
| Legion::TransactionIdentifier | theTransactionId = 0 |
| std::vector < Legion::GlobalIdentifier > | theRequestedGlobalIds |
| const std::string & getPrivateData | ( | Legion::Span< char > | privateData | ) |
References Legion::Span< DATA_TYPE >::size(), and thePrivateData().
Referenced by processOwnershipAcquired(), and processOwnershipDivestitureRequest().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
References Legion::SimulationDatabase::beginFrame(), Legion::Connection::clientId(), Legion::SimulationDatabase::createInstance(), Legion::SimulationDatabase::endFrame(), Legion::Connection::isConnected(), Legion::Connection::ownershipManager(), processArgumentsAndConfiguration(), processOwnershipDivestitureRequest(), Legion::Connection::setIntent(), Legion::Connection::setInterest(), setMinMaxBoundary(), Legion::Connection::startProcessingMessages(), theCreateDelay, theDoDivest, theDoReject, theEntityToDivest, theFrameRate, theName(), thePrivateData(), theTimeToCreate, theTransactionId, and Legion::Connection::waitUntilDoneProcessingMessages().
| void processArgumentsAndConfiguration | ( | int | argc, |
| char * | argv[], | ||
| Legion::Configuration & | configuration | ||
| ) |
| void processOwnershipDivestitureRequest | ( | Legion::TransactionIdentifier | transactionId, |
| Legion::Span< Legion::InstanceHandle > | instanceIds, | ||
| Legion::Span< char > | privateData | ||
| ) |
References Legion::Span< DATA_TYPE >::assignTo(), getPrivateData(), Legion::Span< DATA_TYPE >::size(), theDoDivest, theDoReject, theEntityToDivest, thePrivateData(), and theTransactionId.
Referenced by main().
| void setMinMaxBoundary | ( | Legion::BoundarySpatialPlanar & | boundary, |
| float | minX, | ||
| float | minY, | ||
| float | maxX, | ||
| float | maxY | ||
| ) |
| const std::string theName | ( | "give" | ) |
| std::string thePrivateData | ( | "#Test Private Data#" | ) |
Referenced by getPrivateData(), main(), and processOwnershipDivestitureRequest().
| std::string theConfigFile = "legionExamples.lua" |
| double theCreateDelay = 1.0 |
Referenced by main().
| bool theDoDivest = false |
Referenced by main(), and processOwnershipDivestitureRequest().
| bool theDoReject = false |
Referenced by main(), and processOwnershipDivestitureRequest().
| LOM::WriteEntityRepository theEntityToDivest |
Referenced by main(), and processOwnershipDivestitureRequest().
| float theFrameRate = 10.0 |
| float theReferenceLatitude = 0.0 |
| float theReferenceLongitude = 0.0 |
| std::vector<Legion::GlobalIdentifier> theRequestedGlobalIds |
| double theTimeToCreate = 0.0 |
Referenced by main().
| Legion::TransactionIdentifier theTransactionId = 0 |
Referenced by main(), and processOwnershipDivestitureRequest().