![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Maintain mappings between handles and network addresses The mappings are assumed to be propogated through the network to be used for establishing multicast groups. More...
Collaboration diagram for DtAddrMap:Public Member Functions | |
| DtAddrMap (long defaultHandle, float delayValue) | |
| Constructor. | |
| virtual | ~DtAddrMap () |
| Destructor. | |
| virtual void | setDelay (float delayValue) |
| Set/Get address delay. | |
| virtual float | delay () |
| virtual void | addLocalAddrMap (long handle, const MAKRti::DtInetAddr &addr) |
| Add/Remove/Get mappings between handles and network addresses. | |
| virtual void | removeLocalAddrMap (long handle) |
| virtual MAKRti::DtInetAddr | localAddrMap (long handle) |
| virtual void | addRemoteAddrMap (long handle, const MAKRti::DtInetAddr &addr) |
| virtual void | removeRemoteAddrMap (long handle) |
| virtual MAKRti::DtInetAddr | remoteAddrMap (long handle) |
| virtual void | addAddrMapDelay (long handle) |
| Add/Remove/Query the delay status of an address map. | |
| virtual void | removeAddrMapDelay (long handle) |
| virtual bool | addrMapDelayExpired (long handle) |
| virtual void | empty () |
| Empty mappings. | |
Protected Attributes | |
| float | myAddressDelay |
| long | myDefaultHandle |
| std::map< long, MAKRti::DtInetAddr > | myLocalAddr |
| std::map< long, MAKRti::DtInetAddr > | myRemoteAddr |
| std::map< long, MAKRti::DtClock * > | myAddrMapDelay |
Maintain mappings between handles and network addresses The mappings are assumed to be propogated through the network to be used for establishing multicast groups.
The mappings are delayed to allow the propgation to take effect.
| DtAddrMap::DtAddrMap | ( | long | defaultHandle, |
| float | delayValue | ||
| ) |
Constructor.
References addLocalAddrMap(), and myDefaultHandle.
|
virtual |
Destructor.
References empty().
|
virtual |
Add/Remove/Query the delay status of an address map.
Address maps require some time to propagate to remote federates. Addresses used for sending data should be added to the delay pool. Query the pool to determine if the address can be used. Deleted or expired addressed should be removed.
References myAddrMapDelay.
Referenced by addLocalAddrMap().
|
virtual |
Add/Remove/Get mappings between handles and network addresses.
References addAddrMapDelay(), and myLocalAddr.
Referenced by DtAddrMap().
|
virtual |
References myRemoteAddr.
|
virtual |
References myAddressDelay, myAddrMapDelay, and removeAddrMapDelay().
Referenced by localAddrMap().
|
inlinevirtual |
References myAddressDelay.
|
virtual |
Empty mappings.
References myAddrMapDelay, myLocalAddr, and myRemoteAddr.
Referenced by DtObjectMgr::destroyObjectLists(), and ~DtAddrMap().
|
virtual |
References addrMapDelayExpired(), and myLocalAddr.
|
virtual |
References myRemoteAddr.
|
virtual |
References myAddrMapDelay.
Referenced by addrMapDelayExpired(), and removeLocalAddrMap().
|
virtual |
References myLocalAddr, and removeAddrMapDelay().
|
virtual |
References myRemoteAddr.
|
virtual |
Set/Get address delay.
References myAddressDelay.
|
protected |
Referenced by addrMapDelayExpired(), delay(), and setDelay().
|
protected |
Referenced by addAddrMapDelay(), addrMapDelayExpired(), empty(), and removeAddrMapDelay().
|
protected |
Referenced by DtAddrMap().
|
protected |
Referenced by addLocalAddrMap(), empty(), localAddrMap(), and removeLocalAddrMap().
|
protected |
Referenced by addRemoteAddrMap(), empty(), remoteAddrMap(), and removeRemoteAddrMap().