MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtAddrMap Class Reference

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

Detailed Description

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.

Constructor & Destructor Documentation

DtAddrMap::DtAddrMap ( long  defaultHandle,
float  delayValue 
)

Constructor.

virtual DtAddrMap::~DtAddrMap ( )
virtual

Destructor.

Member Function Documentation

virtual 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.

virtual void DtAddrMap::addLocalAddrMap ( long  handle,
const MAKRti::DtInetAddr &  addr 
)
virtual

Add/Remove/Get mappings between handles and network addresses.

virtual void DtAddrMap::addRemoteAddrMap ( long  handle,
const MAKRti::DtInetAddr &  addr 
)
virtual
virtual bool DtAddrMap::addrMapDelayExpired ( long  handle)
virtual
float DtAddrMap::delay ( )
inlinevirtual

References myAddressDelay.

virtual void DtAddrMap::empty ( )
virtual

Empty mappings.

virtual MAKRti::DtInetAddr DtAddrMap::localAddrMap ( long  handle)
virtual
virtual MAKRti::DtInetAddr DtAddrMap::remoteAddrMap ( long  handle)
virtual
virtual void DtAddrMap::removeAddrMapDelay ( long  handle)
virtual
virtual void DtAddrMap::removeLocalAddrMap ( long  handle)
virtual
virtual void DtAddrMap::removeRemoteAddrMap ( long  handle)
virtual
virtual void DtAddrMap::setDelay ( float  delayValue)
virtual

Set/Get address delay.

Member Data Documentation

float DtAddrMap::myAddressDelay
protected

Referenced by delay().

std::map<long, MAKRti::DtClock*> DtAddrMap::myAddrMapDelay
protected
long DtAddrMap::myDefaultHandle
protected
std::map<long, MAKRti::DtInetAddr> DtAddrMap::myLocalAddr
protected
std::map<long, MAKRti::DtInetAddr> DtAddrMap::myRemoteAddr
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Sep 27 00:57:56 EDT 2019 from SVN revision 201708
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)