MAK Legion API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Functions | Variables
take.cxx File Reference

Functions

void parseArgs (int argc, char **argv)
 
void setMinMaxBoundary (int minX, int minY, int maxX, int maxY)
 
void takeShutDownHandler ()
 
void checkConsoleCommands ()
 
void destroyEntity ()
 
void requestOwnership ()
 
void processOwnershipAcquisitionRejected (Legion::TransactionIdentifier transactionId, Legion::Span< Legion::GlobalIdentifier > globalIds, Legion::Span< char > privateData)
 
void processOwnershipAcquired (Legion::TransactionIdentifier transactionId, Legion::Span< Legion::GlobalIdentifier > globalIds, Legion::Span< char > privateData)
 
int main (int argc, char *argv[])
 

Variables

double theFrameRate = 10
 
int MAX_GRID = 1000
 
std::string theConfigFile = "legionExamples.lua"
 
Legion::ConfigurationtheConfiguration = nullptr
 
Legion::SimulationDatabasetheSimDb = nullptr
 
Legion::ConnectiontheConnection = nullptr
 
Legion::BoundarySpatialPlanar theBounds
 
Legion::ViewManagertheViewManager = nullptr
 
Legion::OwnershipManagertheOwnershipManager = nullptr
 
Legion::ObjectType theTransferObjectType (1, 1, 255, 123, 123, 123, 123)
 
LOM::EntityTypeView * theAvailableObjects = nullptr
 
LOM::WriteEntityRepository theAcquiredEntity
 
bool theShowMessage = true
 
Legion::TransactionIdentifier theOwnershipTransactionId = 0
 
Legion::GlobalIdentifier theOwnershipTransactionInstance = 0
 
MAK::DtCommandParser theCommandInput
 
bool theDoRequestAcquisition = false
 
Legion::Vector3d theDestination (20, 20,-100)
 

Function Documentation

void checkConsoleCommands ( )
void destroyEntity ( )
int main ( int  argc,
char *  argv[] 
)
void parseArgs ( int  argc,
char **  argv 
)
void processOwnershipAcquired ( Legion::TransactionIdentifier  transactionId,
Legion::Span< Legion::GlobalIdentifier globalIds,
Legion::Span< char >  privateData 
)
void processOwnershipAcquisitionRejected ( Legion::TransactionIdentifier  transactionId,
Legion::Span< Legion::GlobalIdentifier globalIds,
Legion::Span< char >  privateData 
)
void requestOwnership ( )
void setMinMaxBoundary ( int  minX,
int  minY,
int  maxX,
int  maxY 
)
void takeShutDownHandler ( )

References theConfiguration, theConnection, and theSimDb.

Referenced by main().

Variable Documentation

int MAX_GRID = 1000
LOM::WriteEntityRepository theAcquiredEntity
LOM::EntityTypeView* theAvailableObjects = nullptr
MAK::DtCommandParser theCommandInput

Referenced by checkConsoleCommands(), and main().

std::string theConfigFile = "legionExamples.lua"
Legion::Configuration* theConfiguration = nullptr
Legion::Connection* theConnection = nullptr
Legion::Vector3d theDestination(20, 20,-100)

Referenced by main(), and processOwnershipAcquired().

bool theDoRequestAcquisition = false

Referenced by checkConsoleCommands(), and main().

double theFrameRate = 10
Legion::OwnershipManager* theOwnershipManager = nullptr
Legion::TransactionIdentifier theOwnershipTransactionId = 0
Legion::GlobalIdentifier theOwnershipTransactionInstance = 0
bool theShowMessage = true
Legion::SimulationDatabase* theSimDb = nullptr
Legion::ObjectType theTransferObjectType(1, 1, 255, 123, 123, 123, 123)
Legion::ViewManager* theViewManager = nullptr

Document ID: Generated on Mon Mar 8 15:11:30 EST 2021 from SVN revision 225633
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)