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

Functions

void parseArgs (int argc, char **argv)
 
void setMinMaxBoundary (int minX, int minY, int maxX, int maxY)
 
void giveShutDownHandler ()
 
void processOwnershipDivestitureRequest (Legion::TransactionIdentifier transactionId, Legion::Span< Legion::InstanceHandle > instanceIds, 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::OwnershipManagertheOwnershipManager = nullptr
 
Legion::BoundarySpatialPlanar theBounds
 
LOM::WriteEntityRepository theEntityToDivest
 
Legion::ObjectType theTransferObjectType (1, 1, 255, 123, 123, 123, 123)
 
double theTimeToCreate = 0.0
 
double theCreateDelay = 1.0
 

Function Documentation

void giveShutDownHandler ( )

References theConfiguration, theConnection, and theSimDb.

Referenced by main().

int main ( int  argc,
char *  argv[] 
)
void parseArgs ( int  argc,
char **  argv 
)
void processOwnershipDivestitureRequest ( Legion::TransactionIdentifier  transactionId,
Legion::Span< Legion::InstanceHandle instanceIds,
Legion::Span< char >  privateData 
)
void setMinMaxBoundary ( int  minX,
int  minY,
int  maxX,
int  maxY 
)

Variable Documentation

int MAX_GRID = 1000
std::string theConfigFile = "legionExamples.lua"
Legion::Configuration* theConfiguration = nullptr
Legion::Connection* theConnection = nullptr
double theCreateDelay = 1.0
LOM::WriteEntityRepository theEntityToDivest
double theFrameRate = 10
Legion::OwnershipManager* theOwnershipManager = nullptr
Legion::SimulationDatabase* theSimDb = nullptr
double theTimeToCreate = 0.0
Legion::ObjectType theTransferObjectType(1, 1, 255, 123, 123, 123, 123)

Referenced by createEntity(), and main().


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)