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

Contains a simple example to add custom attribute set to the database. More...

Classes

class  WriteEngineRepository
 
class  ReadEngineRepository
 

Functions

const std::string theName ("customAttributeSet")
 
void processArgumentsAndConfiguration (int argc, char *argv[], Legion::Configuration &configuration)
 
void setMinMaxBoundary (Legion::BoundarySpatialPlanar &boundary, float minX, float minY, float maxX, float maxY)
 
bool registerCustomAttributeSet (Legion::SimulationDatabase &simDb)
 
int main (int argc, char *argv[])
 

Variables

AttributeIndex theRpmAttributeIndex = Legion::BAD_INDEX
 
AttributeIndex theTemperatureAttributeIndex = Legion::BAD_INDEX
 
AttributeSetId theEngineAttributeSetId = 0
 
std::string theConfigFile = "legionExamples.lua"
 
float theFrameRate = 10.0
 
float theReferenceLatitude = 0.0
 
float theReferenceLongitude = 0.0
 
float theChangeDirectionInterval = 5.0
 

Detailed Description

Contains a simple example to add custom attribute set to the database.

Function Documentation

int main ( int  argc,
char *  argv[] 
)
void processArgumentsAndConfiguration ( int  argc,
char *  argv[],
Legion::Configuration configuration 
)
bool registerCustomAttributeSet ( Legion::SimulationDatabase simDb)
void setMinMaxBoundary ( Legion::BoundarySpatialPlanar boundary,
float  minX,
float  minY,
float  maxX,
float  maxY 
)
const std::string theName ( "customAttributeSet"  )

Variable Documentation

float theChangeDirectionInterval = 5.0
std::string theConfigFile = "legionExamples.lua"
AttributeSetId theEngineAttributeSetId = 0
float theFrameRate = 10.0
float theReferenceLatitude = 0.0
float theReferenceLongitude = 0.0
AttributeIndex theRpmAttributeIndex = Legion::BAD_INDEX
AttributeIndex theTemperatureAttributeIndex = Legion::BAD_INDEX

Document ID: Generated on Wed May 26 15:17:05 EDT 2021 from SVN revision 229676
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)