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

Contains a simple example to register and create a custom event. More...

Classes

class  CustomEvent
 

Typedefs

typedef Legion::Callback< void(Legion::Span
< const CustomEvent * >)> 
CustomEventCallback
 

Functions

void parseArgs (int argc, char **argv)
 
void setMinMaxBoundary (int minX, int minY, int maxX, int maxY)
 
Legion::EventType registerCustomEvent ()
 
void shutDownHandler ()
 
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
 
LOM::WriteEntityRepository theEntity
 

Detailed Description

Contains a simple example to register and create a custom event.

Typedef Documentation

Function Documentation

int main ( int  argc,
char *  argv[] 
)
void parseArgs ( int  argc,
char **  argv 
)
Legion::EventType registerCustomEvent ( )
void setMinMaxBoundary ( int  minX,
int  minY,
int  maxX,
int  maxY 
)
void shutDownHandler ( )

Variable Documentation

int MAX_GRID = 1000
std::string theConfigFile = "legionExamples.lua"
Legion::Configuration* theConfiguration = nullptr
Legion::Connection* theConnection = nullptr
LOM::WriteEntityRepository theEntity
double theFrameRate = 10
Legion::SimulationDatabase* theSimDb = 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)