![]() |
MAK RTIspy API Documentation for HLA 1516
|
Classes | |
| class | clockDisplay |
Variables | |
| keyboard | theInput |
| bool | theUseGui = true |
| bool | theDisplayRegionExtents = true |
| const int | theDefaultZone = 0 |
| bool | theClockWise = true |
| bool | theChangeClockwiseDirection = false |
| bool | thePauseClock = false |
| unsigned int | theSleepInterval = 200 |
| bool | thePrintUpdate = true |
| void changeBounds | ( | int | lower, |
| int | upper, | ||
| int | zone, | ||
| simpleDDMFederate * | aFederate, | ||
| clockDisplay * | aClock = 0 |
||
| ) |
References simpleDDMFederate::changeBounds(), simpleDDMFederate::GREATESTSecondsInRegion, simpleDDMFederate::GREATESTUTCInRegion, simpleDDMFederate::isPublisher(), simpleDDMFederate::LOWESTSecondsInRegion, simpleDDMFederate::LOWESTUTCInRegion, thePrintUpdate, and theZone().
Referenced by checkInput(), createDisplay(), main(), and SetPositionAndChangeBounds().
| bool checkForClockwiseChange | ( | simpleDDMFederate * | aFederate, |
| clockDisplay * | aDisplay = 0 |
||
| ) |
References theChangeClockwiseDirection, theClockWise, and theUseGui.
Referenced by main().
| int checkInput | ( | simpleDDMFederate * | aFederate, |
| clockDisplay * | aDisplay | ||
| ) |
| bool convert | ( | const string & | param, |
| const string & | value, | ||
| T & | dest | ||
| ) |
Referenced by convert().
| clockDisplay * createDisplay | ( | simpleDDMFederate * | aFederate | ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
References RTI::Exception::_name, rti13::Exception::_name, RTI::Exception::_reason, rti13::Exception::_reason, changeBounds(), checkForClockwiseChange(), checkInput(), createDisplay(), simpleDDMFederate::createFedEx(), DtToString(), simpleDDMFederate::initializeRTI(), simpleDDMFederate::isPublisher(), simpleDDMFederate::joinFedEx(), simpleDDMFederate::listenLowerBound(), simpleDDMFederate::listenUpperBound(), parseCmdLine(), simpleDDMFederate::position(), simpleDDMFederate::publishAndSubscribeInteraction(), simpleDDMFederate::publishSubscribeAndRegisterObject(), simpleDDMFederate::resignAndDestroy(), simpleDDMFederate::sendInteraction_hourly(), simpleDDMFederate::sendInteraction_quarterly(), simpleDDMFederate::sendUpdate(), SetPosition(), SetPositionAndChangeBounds(), simpleDDMFederate::sizeToInc(), syncOurZoneWithGui(), theClockWise, theCurrentPosition(), theLastPosition(), thePauseClock, thePositionLowerBound(), thePositionUpperBound(), theSleepInterval, theUseGui, simpleDDMFederate::tick(), rti1516::Exception::what(), and rti1516e::Exception::what().
| bool parseCmdLine | ( | int | argc, |
| char * | argv[], | ||
| simpleDDMFederate * | ourFed | ||
| ) |
References simpleDDMFederate::changeBounds(), simpleDDMFederate::GREATESTSecondsInRegion, simpleDDMFederate::GREATESTUTCInRegion, simpleDDMFederate::isPublisher(), simpleDDMFederate::LOWESTSecondsInRegion, simpleDDMFederate::LOWESTUTCInRegion, simpleDDMFederate::sendRangeSize(), simpleDDMFederate::setEnableScopeAdvisories(), simpleDDMFederate::setFedFileName(), simpleDDMFederate::setIsPublisher(), simpleDDMFederate::setSendRangeSize(), simpleDDMFederate::setSizeToInc(), simpleDDMFederate::sizeToInc(), theClockWise, theCurrentPosition(), theDisplayRegionExtents, thePrintUpdate, theSendRangeTolerance(), theSizeOfToleratedSendRange(), theSleepInterval, theUseGui, theZone(), and usage().
Referenced by main().
| void SetPosition | ( | int | seconds, |
| simpleDDMFederate * | aFederate, | ||
| clockDisplay * | aDisplay = 0 |
||
| ) |
References simpleDDMFederate::isPublisher(), simpleDDMFederate::setPosition(), thePrintUpdate, and theUseGui.
Referenced by main(), and SetPositionAndChangeBounds().
| void SetPositionAndChangeBounds | ( | int | seconds, |
| simpleDDMFederate * | aFederate, | ||
| clockDisplay * | aDisplay = 0 |
||
| ) |
References changeBounds(), simpleDDMFederate::sendLowerBound(), simpleDDMFederate::sendRangeSize(), simpleDDMFederate::sendUpperBound(), SetPosition(), theClockWise, theCurrentPosition(), theLastPosition(), theMaximumRange(), thePositionLowerBound(), thePositionUpperBound(), theSizeOfToleratedSendRange(), and theZone().
Referenced by main().
| bool syncOurZoneWithGui | ( | simpleDDMFederate * | aFederate, |
| clockDisplay * | aDisplay = 0 |
||
| ) |
References theUseGui, and simpleDDMFederate::zone().
Referenced by main().
| int theCurrentPosition | ( | 0 | ) |
Referenced by main(), parseCmdLine(), and SetPositionAndChangeBounds().
| int theLastPosition | ( | 0 | ) |
Referenced by main(), and SetPositionAndChangeBounds().
|
static |
Referenced by SetPositionAndChangeBounds().
|
static |
Referenced by main(), and SetPositionAndChangeBounds().
|
static |
Referenced by main(), and SetPositionAndChangeBounds().
| float theSendRangeTolerance | ( | 20. | 0f | ) |
Referenced by parseCmdLine().
| float theSizeOfToleratedSendRange | ( | 1 | ) |
Referenced by parseCmdLine(), and SetPositionAndChangeBounds().
| int theZone | ( | theDefaultZone | ) |
Referenced by changeBounds(), checkInput(), createDisplay(), parseCmdLine(), and SetPositionAndChangeBounds().
| bool theChangeClockwiseDirection = false |
Referenced by checkForClockwiseChange(), and checkInput().
| bool theClockWise = true |
Referenced by checkForClockwiseChange(), checkInput(), createDisplay(), main(), parseCmdLine(), and SetPositionAndChangeBounds().
| const int theDefaultZone = 0 |
| bool theDisplayRegionExtents = true |
Referenced by createDisplay(), and parseCmdLine().
| keyboard theInput |
Referenced by checkInput().
| bool thePauseClock = false |
Referenced by checkInput(), and main().
| bool thePrintUpdate = true |
Referenced by changeBounds(), parseCmdLine(), and SetPosition().
| unsigned int theSleepInterval = 200 |
Referenced by main(), and parseCmdLine().
| bool theUseGui = true |
Referenced by checkForClockwiseChange(), main(), parseCmdLine(), SetPosition(), and syncOurZoneWithGui().