![]() |
MAK Legion 1.1 API Documentation
|
Contains a simple listen example that listens for entities. More...
Functions | |
| const std::string | theName ("listen") |
| void | processArgumentsAndConfiguration (int argc, char *argv[], Legion::Configuration &configuration) |
| void | setMinMaxBoundary (Legion::BoundarySpatialPlanar &boundary, float minX, float minY, float maxX, float maxY) |
| void | fireEventCallback (Legion::Span< LOM::FireEvent > &fire) |
| int | main (int argc, char *argv[]) |
Variables | |
| std::string | theConfigFile = "legionExamples.lua" |
| float | theFrameRate = 10.0 |
| float | theReferenceLatitude = 0.0 |
| float | theReferenceLongitude = 0.0 |
Contains a simple listen example that listens for entities.
| void fireEventCallback | ( | Legion::Span< LOM::FireEvent > & | fire | ) |
References Legion::Span< DATA_TYPE >::size().
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
References Legion::EventManager::addEventCallback(), Legion::SimulationDatabase::beginFrame(), Legion::ViewManager::createView(), Legion::ViewManager::destroyView(), Legion::SimulationDatabase::endFrame(), Legion::SimulationDatabase::eventManager(), fireEventCallback(), Legion::Connection::isConnected(), processArgumentsAndConfiguration(), Legion::Remote, Legion::Connection::setIntent(), Legion::Connection::setInterest(), setMinMaxBoundary(), Legion::Connection::startProcessingMessages(), theFrameRate, theName(), theReferenceLatitude, theReferenceLongitude, Legion::SimulationDatabase::viewManager(), Legion::Connection::waitUntilDoneProcessingMessages(), Legion::Vector3d::x, Legion::Vector3d::y, and Legion::Vector3d::z.
| void processArgumentsAndConfiguration | ( | int | argc, |
| char * | argv[], | ||
| Legion::Configuration & | configuration | ||
| ) |
| void setMinMaxBoundary | ( | Legion::BoundarySpatialPlanar & | boundary, |
| float | minX, | ||
| float | minY, | ||
| float | maxX, | ||
| float | maxY | ||
| ) |
| const std::string theName | ( | "listen" | ) |
| std::string theConfigFile = "legionExamples.lua" |
| float theFrameRate = 10.0 |
| float theReferenceLatitude = 0.0 |
| float theReferenceLongitude = 0.0 |