![]() |
MAK RTIspy API Documentation for HLA 4
|
Inheritance diagram for BallController13:
Collaboration diagram for BallController13:Public Member Functions | |
| BallController13 (BallMap *data, DdmRegionMap *regionData) | |
| virtual | ~BallController13 () |
| 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) |
| virtual bool | unsubscribeWithRegionsKeepRegionInfo (bool resubscribeWithoutRegion) |
| void | ballDiscovered (ObjectParams13 *objParams) |
| void | ballRemoved (RTI::ObjectHandle handle) |
| void | ballVisible (RTI::ObjectHandle handle) |
| void | ballNotVisible (RTI::ObjectHandle handle) |
| void | ballUpdated (RTI::ObjectHandle handle, const RTI::AttributeHandleValuePairSet &attrVals) |
| void | releaseOwnership (RTI::ObjectHandle theObject, RTI::AttributeHandleSet const &attributes) |
| void | ownershipAcquired (RTI::ObjectHandle theObject, RTI::AttributeHandleSet const &attributes) |
| void | assumeOwnership (RTI::ObjectHandle theObject, RTI::AttributeHandleSet const &attributes) |
| void | ownershipDivested (RTI::ObjectHandle theObject, RTI::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 (RTI::AttributeHandleValuePairSet &attrVals, const Ball *ball) |
| void | setBallFromAttributes (Ball *ball, const RTI::AttributeHandleValuePairSet &attrVals) |
| void | subscribeToDefaultRegion () |
| void | unsubscribeFromDefaultRegion (bool deleteDiscoveredBalls) |
| virtual void | deleteKnownBalls (bool deleteOwned, bool deleteOthers) |
| void | markBallsOutOfScope () |
| bool | createPublicationRegion (Ball *ball) |
| std::string | 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::string | theFedFile |
| static const std::string | theBallClassName |
| static const std::string | theColorAttrName |
| static const std::string | theSizeAttrName |
| static const std::string | theXAttrName |
| static const std::string | theYAttrName |
| static const std::string | theSpeedAttrName |
| static const std::string | theDirectionAttrName |
| static const std::string | thePrivToDeleteAttrName |
| static const std::string | theXYSpaceName |
| static const std::string | theXDimName |
| static const std::string | theYDimName |
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 | |
| BallController13 () | |
| BallController13::BallController13 | ( | BallMap * | data, |
| DdmRegionMap * | regionData | ||
| ) |
|
virtual |
|
private |
|
virtual |
Implements BallController.
| void BallController13::assumeOwnership | ( | RTI::ObjectHandle | theObject, |
| RTI::AttributeHandleSet const & | attributes | ||
| ) |
| void BallController13::ballDiscovered | ( | ObjectParams13 * | objParams | ) |
| void BallController13::ballNotVisible | ( | RTI::ObjectHandle | handle | ) |
| void BallController13::ballRemoved | ( | RTI::ObjectHandle | handle | ) |
| void BallController13::ballUpdated | ( | RTI::ObjectHandle | handle, |
| const RTI::AttributeHandleValuePairSet & | attrVals | ||
| ) |
| void BallController13::ballVisible | ( | RTI::ObjectHandle | handle | ) |
|
protected |
|
virtual |
Implements BallController.
|
protected |
|
virtual |
Implements BallController.
|
protectedvirtual |
|
virtual |
Implements BallController.
|
virtual |
Implements BallController.
|
virtual |
Implements BallController.
|
virtual |
Implements BallController.
|
virtual |
Implements BallController.
|
virtual |
Implements BallController.
|
virtual |
Implements BallController.
|
protected |
| void BallController13::ownershipAcquired | ( | RTI::ObjectHandle | theObject, |
| RTI::AttributeHandleSet const & | attributes | ||
| ) |
| void BallController13::ownershipDivested | ( | RTI::ObjectHandle | theObject, |
| RTI::AttributeHandleSet const & | attributes | ||
| ) |
|
protectedvirtual |
Implements BallController.
| void BallController13::releaseOwnership | ( | RTI::ObjectHandle | theObject, |
| RTI::AttributeHandleSet const & | attributes | ||
| ) |
|
protectedvirtual |
Implements BallController.
|
virtual |
Implements BallController.
|
protectedvirtual |
Implements BallController.
|
protected |
|
protected |
|
virtual |
Reimplemented from BallController.
|
virtual |
Implements BallController.
|
protected |
|
virtual |
Implements BallController.
|
virtual |
Implements BallController.
|
protected |
|
virtual |
Implements BallController.
|
virtual |
|
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 |