![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Inheritance diagram for BallController1516e:
Collaboration diagram for BallController1516e:Public Member Functions | |
| BallController1516e (BallMap *data, DdmRegionMap *regionData) | |
| virtual | ~BallController1516e () |
| virtual bool | createAndJoinFederation (const std::wstring &federation, const std::wstring &federateType, const std::wstring &federateName=std::wstring(), bool includeInterExt=false) |
| virtual bool | resignAndDestroyFederation () |
| virtual bool | subscribe () |
| virtual bool | unsubscribe () |
| virtual void | deleteBall (const std::wstring id) |
| virtual void | acquireBall (const std::wstring id) |
| virtual void | divestBall (const std::wstring id) |
| virtual bool | subscribeWithRegion (int xLowerBound, int yLowerBound, int xUpperBound, int yUpperBound) |
| virtual bool | unsubscribeWithRegions (bool resubscribeWithoutRegion) |
| void | nameReservationFailed (const std::wstring &name) |
| void | nameReservationSucceeded (const std::wstring &name) |
| void | ballDiscovered (ObjectParams1516e *objParams) |
| void | ballRemoved (rti1516e::ObjectInstanceHandle handle) |
| void | ballVisible (rti1516e::ObjectInstanceHandle handle) |
| void | ballNotVisible (rti1516e::ObjectInstanceHandle handle) |
| void | ballUpdated (rti1516e::ObjectInstanceHandle handle, const rti1516e::AttributeHandleValueMap &attrVals) |
| void | displayInteractionText (rti1516e::InteractionClassHandle handle, const rti1516e::ParameterHandleValueMap ¶mVals) |
| void | releaseOwnership (rti1516e::ObjectInstanceHandle theObject, rti1516e::AttributeHandleSet const &attributes) |
| void | ownershipAcquired (rti1516e::ObjectInstanceHandle theObject, rti1516e::AttributeHandleSet const &attributes) |
| void | assumeOwnership (rti1516e::ObjectInstanceHandle theObject, rti1516e::AttributeHandleSet const &attributes) |
| void | confirmDivestiture (rti1516e::ObjectInstanceHandle theObject, rti1516e::AttributeHandleSet const &attributes) |
| virtual void | setDimensions (int minX, int minY, int maxX, int maxY) |
| virtual const std::wstring & | federateId () const |
| virtual const std::wstring & | federateType () const |
| virtual const std::wstring & | federateName () const |
| virtual const std::wstring & | federationName () const |
| virtual bool | isFederateNameSupported () const |
| virtual bool | isInteractionExtensionSupported () const |
Public Member Functions inherited from BallController | |
| BallController (BallMap *data, DdmRegionMap *regionData) | |
| virtual | ~BallController () |
| virtual void | update () |
| virtual void | addBall (int x, int y) |
| virtual void | setBallColor (BallColor) |
| virtual bool | isDdmEnabled () const |
| virtual bool | isOwnershipTransferEnabled () const |
| virtual bool | isConnected () const |
| virtual bool | isJoined () const |
| virtual bool | isSubscribed () const |
| virtual void | getPendingTextEvents (std::list< TextEvent > &textEvents) |
| virtual const std::wstring & | getLog () const |
| virtual void | clearLog () |
Protected Member Functions | |
| virtual void | sendUpdates () |
| virtual void | receiveUpdates () |
| virtual void | requestNewBall (Ball *ball, const std::wstring name) |
| void | setAttributesForBall (rti1516e::AttributeHandleValueMap &attrVals, const Ball *ball) |
| void | setBallFromAttributes (Ball *ball, const rti1516e::AttributeHandleValueMap &attrVals) |
| void | setTextEventFromParameters (TextEvent &textEvent, const rti1516e::ParameterHandleValueMap ¶mVals) |
| void | subscribeToDefaultRegion () |
| void | unsubscribeFromDefaultRegion (bool deleteDiscoveredBalls) |
| void | subscribeInteractionClass () |
| void | unsubscribeInteractionClass () |
| virtual void | deleteKnownBalls (bool deleteOwned, bool deleteOthers) |
| void | markBallsOutOfScope () |
| bool | createPublicationRegion (Ball *ball) |
| rti1516e::VariableLengthData | constructTag (const Ball *ball) const |
Protected Member Functions inherited from BallController | |
| virtual void | moveBalls () |
| virtual void | calculateNewLoc (double x, double y, double distance, double direction, double &newX, double &newY) const |
| virtual bool | calculateVertWallCollision (double x, double y, double distance, double direction, double newX, double newY, double radius, double &finalDirection, double &distAfterColl, double &collX, double &collY, double &finalX, double &finalY) const |
| virtual bool | calculateHorizWallCollision (double x, double y, double distance, double direction, double newX, double newY, double radius, double &finalDirection, double &distAfterColl, double &collX, double &collY, double &finalX, double &finalY) const |
Static Protected Attributes | |
| static const std::wstring | theFddFile |
| static const std::wstring | theBallClassName |
| static const std::wstring | theColorAttrName |
| static const std::wstring | theSizeAttrName |
| static const std::wstring | theXAttrName |
| static const std::wstring | theYAttrName |
| static const std::wstring | theSpeedAttrName |
| static const std::wstring | theDirectionAttrName |
| static const std::wstring | thePrivToDeleteAttrName |
| static const std::wstring | theXDimName |
| static const std::wstring | theYDimName |
| static const std::wstring | theInteractionFomModule |
| static const std::wstring | theTextClassName |
| static const std::wstring | theTextParamName |
| static const std::wstring | theTextXParamName |
| static const std::wstring | theTextYParamName |
| static const std::wstring | theTextSizeParamName |
| static const std::wstring | theTextIntervalParamName |
Static Protected Attributes inherited from BallController | |
| static const double | pi |
| static const double | maxRadians |
| static const double | maxDegrees |
| static const double | degreesToRadians |
Private Member Functions | |
| BallController1516e () | |
| BallController1516e::BallController1516e | ( | BallMap * | data, |
| DdmRegionMap * | regionData | ||
| ) |
|
virtual |
|
private |
|
virtual |
Implements BallController.
| void BallController1516e::assumeOwnership | ( | rti1516e::ObjectInstanceHandle | theObject, |
| rti1516e::AttributeHandleSet const & | attributes | ||
| ) |
| void BallController1516e::ballDiscovered | ( | ObjectParams1516e * | objParams | ) |
| void BallController1516e::ballNotVisible | ( | rti1516e::ObjectInstanceHandle | handle | ) |
| void BallController1516e::ballRemoved | ( | rti1516e::ObjectInstanceHandle | handle | ) |
| void BallController1516e::ballUpdated | ( | rti1516e::ObjectInstanceHandle | handle, |
| const rti1516e::AttributeHandleValueMap & | attrVals | ||
| ) |
| void BallController1516e::ballVisible | ( | rti1516e::ObjectInstanceHandle | handle | ) |
| void BallController1516e::confirmDivestiture | ( | rti1516e::ObjectInstanceHandle | theObject, |
| rti1516e::AttributeHandleSet const & | attributes | ||
| ) |
|
protected |
|
virtual |
Implements BallController.
|
protected |
|
virtual |
Implements BallController.
|
protectedvirtual |
| void BallController1516e::displayInteractionText | ( | rti1516e::InteractionClassHandle | handle, |
| const rti1516e::ParameterHandleValueMap & | paramVals | ||
| ) |
|
virtual |
Implements BallController.
|
virtual |
Implements BallController.
|
virtual |
Implements BallController.
|
virtual |
Implements BallController.
|
virtual |
Implements BallController.
|
virtual |
Implements BallController.
|
virtual |
Implements BallController.
|
protected |
| void BallController1516e::nameReservationFailed | ( | const std::wstring & | name | ) |
| void BallController1516e::nameReservationSucceeded | ( | const std::wstring & | name | ) |
| void BallController1516e::ownershipAcquired | ( | rti1516e::ObjectInstanceHandle | theObject, |
| rti1516e::AttributeHandleSet const & | attributes | ||
| ) |
|
protectedvirtual |
Implements BallController.
| void BallController1516e::releaseOwnership | ( | rti1516e::ObjectInstanceHandle | theObject, |
| rti1516e::AttributeHandleSet const & | attributes | ||
| ) |
|
protectedvirtual |
Implements BallController.
|
virtual |
Implements BallController.
|
protectedvirtual |
Implements BallController.
|
protected |
|
protected |
|
virtual |
Reimplemented from BallController.
|
protected |
|
virtual |
Implements BallController.
|
protected |
|
protected |
|
virtual |
Implements BallController.
|
virtual |
Implements BallController.
|
protected |
|
protected |
|
virtual |
Implements BallController.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |