|
WSF
|
A base class for a DIS I/O device (file, network, etc). More...
#include <WsfDisDevice.hpp>


Classes | |
| class | OpenError |
| Exception class. More... | |
Public Types | |
| enum | DeviceType { cDEVICE_NONE , cDEVICE_RECORD , cDEVICE_PLAYBACK , cDEVICE_MULTICAST , cDEVICE_BROADCAST , cDEVICE_UNICAST , cDEVICE_CEE } |
Public Member Functions | |
| WsfDisDevice (WsfDisInterface *aInterfacePtr) | |
| virtual | ~WsfDisDevice () |
| virtual DisPdu * | GetPdu (DisPduFactory *aPduFactoryPtr) |
| void | PutPdu (double aSimTime, DisPdu &aPdu) |
| virtual void | PutPduP (double, DisPdu &)=0 |
| DeviceType | GetDeviceType () const |
| virtual GenUDP_IO * | GenUDP_IOPtr () |
| void | AddFilterAllowance (WsfDisFilterAllowance *anAllowance) |
Protected Member Functions | |
| bool | AllowedThroughFilter (DisPdu &aPdu) |
Protected Attributes | |
| DeviceType | mDeviceType |
| std::vector< WsfDisFilterAllowance * > | mFilterAllowances |
| WsfDisInterface * | mInterfacePtr |
A base class for a DIS I/O device (file, network, etc).
| WsfDisDevice::WsfDisDevice | ( | WsfDisInterface * | aInterfacePtr | ) |
|
virtual |
| void WsfDisDevice::AddFilterAllowance | ( | WsfDisFilterAllowance * | anAllowance | ) |
References mFilterAllowances.
Referenced by WsfDisInterface::ActivateConnection().
|
protected |
References mFilterAllowances, and mInterfacePtr.
Referenced by PutPdu().
|
inlinevirtual |
Reimplemented in WsfDisUDP_Device.
|
inline |
References mDeviceType.
|
virtual |
Reimplemented in WsfDisPlaybackDevice, and WsfDisUDP_Device.
Referenced by WsfDisInterface::GetPdu().
| void WsfDisDevice::PutPdu | ( | double | aSimTime, |
| DisPdu & | aPdu ) |
References AllowedThroughFilter(), and PutPduP().
Referenced by WsfDisInterface::ActivateConnection(), and WsfDisInterface::SendDateAndTime().
|
pure virtual |
Implemented in WsfDisFileDevice, WsfDisPlaybackDevice, and WsfDisUDP_Device.
Referenced by PutPdu().
|
protected |
|
protected |
Referenced by AddFilterAllowance(), and AllowedThroughFilter().
|
protected |
Referenced by AllowedThroughFilter(), and WsfDisDevice().