![]() |
MAK RTIspy API Documentation for HLA 1516
|
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.
| DtAddrMap::~DtAddrMap | ( | ) | [virtual] |
Destructor.
References empty().
| void DtAddrMap::addAddrMapDelay | ( | long | handle | ) | [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().
| void DtAddrMap::addLocalAddrMap | ( | long | handle, |
| const MAKRti::DtInetAddr & | addr | ||
| ) | [virtual] |
Add/Remove/Get mappings between handles and network addresses.
References addAddrMapDelay(), and myLocalAddr.
Referenced by DtAddrMap().
| void DtAddrMap::addRemoteAddrMap | ( | long | handle, |
| const MAKRti::DtInetAddr & | addr | ||
| ) | [virtual] |
References myRemoteAddr.
| bool DtAddrMap::addrMapDelayExpired | ( | long | handle | ) | [virtual] |
References myAddressDelay, myAddrMapDelay, and removeAddrMapDelay().
Referenced by localAddrMap().
| float DtAddrMap::delay | ( | ) | [inline, virtual] |
References myAddressDelay.
| void DtAddrMap::empty | ( | ) | [virtual] |
Empty mappings.
References myAddrMapDelay, myLocalAddr, and myRemoteAddr.
Referenced by DtObjectMgr::destroyObjectLists(), and ~DtAddrMap().
| MAKRti::DtInetAddr DtAddrMap::localAddrMap | ( | long | handle | ) | [virtual] |
References addrMapDelayExpired(), and myLocalAddr.
| MAKRti::DtInetAddr DtAddrMap::remoteAddrMap | ( | long | handle | ) | [virtual] |
References myRemoteAddr.
| void DtAddrMap::removeAddrMapDelay | ( | long | handle | ) | [virtual] |
References myAddrMapDelay.
Referenced by addrMapDelayExpired(), and removeLocalAddrMap().
| void DtAddrMap::removeLocalAddrMap | ( | long | handle | ) | [virtual] |
References myLocalAddr, and removeAddrMapDelay().
| void DtAddrMap::removeRemoteAddrMap | ( | long | handle | ) | [virtual] |
References myRemoteAddr.
| void DtAddrMap::setDelay | ( | float | delayValue | ) | [virtual] |
Set/Get address delay.
References myAddressDelay.
float DtAddrMap::myAddressDelay [protected] |
Referenced by addrMapDelayExpired(), delay(), and setDelay().
std::map<long, MAKRti::DtClock*> DtAddrMap::myAddrMapDelay [protected] |
Referenced by addAddrMapDelay(), addrMapDelayExpired(), empty(), and removeAddrMapDelay().
long DtAddrMap::myDefaultHandle [protected] |
Referenced by DtAddrMap().
std::map<long, MAKRti::DtInetAddr> DtAddrMap::myLocalAddr [protected] |
Referenced by addLocalAddrMap(), empty(), localAddrMap(), and removeLocalAddrMap().
std::map<long, MAKRti::DtInetAddr> DtAddrMap::myRemoteAddr [protected] |
Referenced by addRemoteAddrMap(), empty(), remoteAddrMap(), and removeRemoteAddrMap().