MAK RTIspy API Documentation for HLA 1.3
Functions | Variables
simpleTime13.cxx File Reference

Functions

bool parseCmdLine (int argc, char *argv[])
bool Master (false)
int numFederates (0)
bool dedicatedMachine (false)
bool unManagedFederate (false)
int sleepTime (850)
string fedFileName ("MAKsimpletime.fed")
string federationName ("MAKsimpletime")
string initSyncPointLabel ("begin")
void createFedEx (RTI::RTIambassador *rtiAmb, string const &fedName, string const &fedFile)
void joinFedEx (RTI::RTIambassador *rtiAmb, MyFederateAmbassador *fedAmb, string const &federateType)
void resignAndDestroy (RTI::RTIambassador *rtiAmb)
bool publishSubscribeAndRegisterObject (RTI::RTIambassador *rtiAmb)
bool publishAndSubscribeInteraction (RTI::RTIambassador *rtiAmb)
void cleanUpProgram (RTI::RTIambassador *rtiAmb)
void printOutFedTime (RTI::FedTime *time)
void sleepFunction ()
void minimalSleepFunction ()
void yieldFunction ()
void becomeConstrainedAndRegulating (RTI::RTIambassador *rtiAmb, RTI::FedTime *currentTime, RTI::FedTime *lookAhead)
void synchronizeFederation (RTI::RTIambassador *rtiAmb)
int main (int argc, char **argv)

Variables

keyboard input
DtTalkAmbData theAmbData
string theClassName = "BaseEntity"
string fireInteractionName = "WeaponFire"
string detonateInteractionName = "MunitionDetonation"
RTI::ObjectClassHandle theClassHandle
RTI::InteractionClassHandle fireInteractionHandle
RTI::InteractionClassHandle detonateInteractionHandle
RTI::ObjectHandle theObjectHandle

Function Documentation

void becomeConstrainedAndRegulating ( RTI::RTIambassador rtiAmb,
RTI::FedTime currentTime,
RTI::FedTime lookAhead 
)
void cleanUpProgram ( RTI::RTIambassador rtiAmb)
void createFedEx ( RTI::RTIambassador rtiAmb,
string const &  fedName,
string const &  fedFile 
)
bool dedicatedMachine ( false  )
string federationName ( "MAKsimpletime"  )
string fedFileName ( "MAKsimpletime.fed"  )
string initSyncPointLabel ( "begin"  )

Referenced by synchronizeFederation().

void joinFedEx ( RTI::RTIambassador rtiAmb,
MyFederateAmbassador fedAmb,
string const &  federateType 
)
int main ( int  argc,
char **  argv 
)
bool Master ( false  )
void minimalSleepFunction ( )
int numFederates ( )
bool parseCmdLine ( int  argc,
char *  argv[] 
)
void printOutFedTime ( RTI::FedTime time)
bool publishAndSubscribeInteraction ( RTI::RTIambassador rtiAmb)
bool publishSubscribeAndRegisterObject ( RTI::RTIambassador rtiAmb)
void resignAndDestroy ( RTI::RTIambassador rtiAmb)
void sleepFunction ( )

References dedicatedMachine(), and sleepTime().

Referenced by main().

int sleepTime ( 850  )

Referenced by parseCmdLine(), and sleepFunction().

void synchronizeFederation ( RTI::RTIambassador rtiAmb)
bool unManagedFederate ( false  )

Referenced by main(), and parseCmdLine().

void yieldFunction ( )

Variable Documentation

RTI::InteractionClassHandle detonateInteractionHandle
string detonateInteractionName = "MunitionDetonation"
RTI::InteractionClassHandle fireInteractionHandle
string fireInteractionName = "WeaponFire"
keyboard input
DtTalkAmbData theAmbData
RTI::ObjectClassHandle theClassHandle
string theClassName = "BaseEntity"
RTI::ObjectHandle theObjectHandle

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)