Emulated DVBSender Interface. More...

#include <senf/Ext/NetEmu/DVB/EmulatedDVBInterface.hh>

Inheritance diagram for senf::emu::EmulatedDVBSenderInterface:

Public Types

typedef TypedInterfaceDecorator< EmulatedDVBSenderInterface, WirelessInterface::DecoratorDecorator
 
- Public Types inherited from senf::emu::EmulatedWirelessInterface
typedef std::vector< console::ValueRange< unsigned > > Ranges
 
typedef boost::function< double(unsigned nodeId)> DistanceCallback
 
- Public Types inherited from senf::emu::WirelessInterface
typedef TypedInterfaceDecorator< WirelessInterface, Interface::DecoratorDecorator
 WirelessInterface base class specific decorator type. More...
 
typedef boost::filter_iterator< frequency_is_whitelisted, Frequencies::const_iteratorFrequencyIterator
 
typedef boost::iterator_range< FrequencyIteratorFrequenciesRange
 Range of frequency entries. More...
 
- Public Types inherited from senf::emu::Interface
typedef InterfaceDecorator Decorator
 Interface base class specific decorator type More...
 
- Public Types inherited from senf::emu::WirelessTransmitter
typedef boost::iterator_range< TxPowers::const_iteratorTxPowersRange
 
- Public Types inherited from senf::emu::EmulatedWirelessTransmitter
typedef detail::InterfaceAccess< EmulatedWirelessInterfaceemui
 
typedef detail::InterfaceAccess< WirelessInterfacebasei
 
typedef std::vector< console::ValueRange< int > > Ranges
 

Public Member Functions

 EmulatedDVBSenderInterface ()
 
- Public Member Functions inherited from senf::emu::EmulatedDVBInterface
void registerFrequency (unsigned frequenc)
 
void registerFrequency (unsigned frequencyLower, unsigned frequencyUpper)
 
- Public Member Functions inherited from senf::emu::EmulatedWirelessInterface
 ~EmulatedWirelessInterface ()
 
void registerFrequency (unsigned frequency, unsigned bandwidth)
 Register single frequency/bandwidth combination. More...
 
void registerFrequency (unsigned frequencyLower, unsigned frequencyUpper, unsigned bandwidthLower, unsigned bandwidthUpper)
 Register single frequency/bandwidth range. More...
 
void registerFrequency (Ranges const &frequencies, Ranges const &bandwidths)
 register frequency/bandwidth ranges More...
 
void distanceCallback (DistanceCallback cb)
 
- Public Member Functions inherited from senf::emu::EmulatedInterface
virtual ~EmulatedInterface ()
 
UDPClientHandle emulationSocket () const
 Get the emulation socket handle. More...
 
UDPClientHandle::Address emulationAddress () const
 Get current emulated traffic multicast address. More...
 
void emulationInterface (std::string const &interface)
 Set interface on which to send/receive emulated traffic. More...
 
std::string const & emulationInterface () const
 Get interface on which emulated traffic is sent/received. More...
 
std::uint32_t const & interfaceIndex () const
 
- Public Member Functions inherited from senf::emu::DVBInterface
void tune (DVBModulationParameter::fec_rate_t fec, DVBModulationParameter::modulation_t mod, DVBModulationParameter::guard_interval_t gi, unsigned freq)
 
- Public Member Functions inherited from senf::emu::WirelessInterface
ModulationParameterIds const & modulationParameterIds () const
 Get list of valid parameters. More...
 
unsigned maxNSS () const
 Get max numer of spatial stream;. More...
 
unsigned frequency () const
 Get current channel frequency. More...
 
unsigned bandwidth () const
 Get current bandwidth. More...
 
void frequency (unsigned freq)
 Set channel frequency. More...
 
void frequency (unsigned freq, unsigned bw)
 Set channel frequency and bandwidth. More...
 
FrequenciesRange frequencies () const
 Get valid frequency intervals. More...
 
void whitelistedFrequencyRange (unsigned frequencyLower, unsigned frequencyUpper)
 
void whitelistedChannel (unsigned frequency, unsigned bandwidth)
 
void clearWhitelistedFrequencies ()
 
void coverageRange (unsigned distance)
 set the coverage range of the interface in meters More...
 
- Public Member Functions inherited from senf::emu::Interface
virtual ~Interface ()
 
bool canTransmit () const
 true, if interface is transmit capable More...
 
bool canReceive () const
 true, if interface is receive capable More...
 
void enable ()
 Enable interface (aka ifconfig up) More...
 
void disable ()
 Disable interface (aka ifconfig down) More...
 
bool enabled () const
 true, if interface enabled More...
 
unsigned index () const
 Get interface index. More...
 
void id (MACAddress const &eui)
 Change interface MAC. More...
 
MACAddress const & id () const
 Get interface MAC Address. More...
 
void deviceId (InterfaceDeviceId id)
 
InterfaceDeviceId deviceId () const
 
std::string const & device () const
 
boost::uint8_t linkTypeId () const
 
std::string interfaceTypeName () const
 
console::DirectoryNodeconsoleDir () const
 Access interface console directory. More...
 
console::DirectoryNodestatisticsDir () const
 Access the interface statistics directory. More...
 
template<class Stat >
senf::StatisticsregisterStatistics (std::string name, Stat &stat)
 Register statistics source. More...
 
boost::optional< senf::Statistics & > statistic (std::string const &name)
 Get registered statistic. More...
 
void startStatistics (ClockService::clock_type inverval)
 Start statistics generation. More...
 
- Public Member Functions inherited from senf::emu::WirelessTransmitter
ModulationParameter::id_t modulation () const
 Get current modulation parameter configuration id. More...
 
void modulation (ModulationParameter::id_t id)
 Set modulation parameter configuration by id. More...
 
int txPower () const
 Get current transmit power. More...
 
void txPower (int power)
 Set transmit power. More...
 
TxPowersRange txPowers () const
 Get valid transmit power ranges. More...
 
- Public Member Functions inherited from senf::emu::Transmitter
virtual ~Transmitter ()
 
unsigned mtu () const
 Get interface MTU. More...
 
void mtu (unsigned v)
 Set interface MTU. More...
 
void flushTxQueues ()
 Flush Tx Queues. More...
 
- Public Member Functions inherited from senf::emu::EmulatedWirelessTransmitter
void registerTxPower (int power)
 Register single txpower value. More...
 
void registerTxPower (int powerLow, int powerHigh)
 Register range of txpower values. More...
 
void registerTxPower (Ranges const &powers)
 txpower ranges More...
 
- Public Member Functions inherited from senf::emu::EmulatedTransmitter
void delay (ClockService::clock_type delay)
 set the delay of the sender More...
 
ClockService::clock_type delay () const
 get the sender delay More...
 

Additional Inherited Members

- Static Public Member Functions inherited from senf::emu::Interface
static unsigned nodeId ()
 Get unique node id. More...
 
static void nodeId (unsigned id)
 Set unique node id. More...
 
- Public Attributes inherited from senf::emu::Interface
boost::signals2::signal< void(Interface &, MACAddress)> idChangedSignal
 
- Public Attributes inherited from senf::emu::Transmitter
ppi::connector::PassiveInputJack< EthernetPacketinput
 
- Static Public Attributes inherited from senf::emu::DVBInterface
static const boost::uint8_t linkTypeId = 40
 
- Protected Member Functions inherited from senf::emu::EmulatedDVBInterface
 EmulatedDVBInterface ()
 
void init ()
 
virtual void v_tune (DVBModulationParameter::fec_rate_t fec, DVBModulationParameter::modulation_t mod, DVBModulationParameter::guard_interval_t gi, unsigned frequency) override
 
virtual void v_id (MACAddress const &id) override
 Called to set interface mac address. More...
 
virtual MACAddress v_id () const override
 Return the interface mac address. More...
 
virtual void v_enable () override
 Called to enable interface. More...
 
virtual void v_disable () override
 Called to disable interface. More...
 
virtual bool v_enabled () const override
 Return true if interface is enabled. More...
 
virtual unsigned v_frequency () const override
 Called to get current frequency. More...
 
virtual unsigned v_bandwidth () const override
 Called to get current bandwidth. More...
 
virtual void v_frequency (unsigned frequency, unsigned bandwidth) override
 Called to set frequency and bandwidth. More...
 
virtual void v_coverageRange (unsigned distance) override
 
std::string const & v_device () const override
 
- Protected Member Functions inherited from senf::emu::EmulatedWirelessInterface
 EmulatedWirelessInterface ()
 
void init ()
 
unsigned emulatedFrequency () const
 Get current emulated frequency. More...
 
unsigned emulatedBandwidth () const
 Get current emulated bandwidth. More...
 
void emulatedFrequency (unsigned frequency, unsigned bandwidth)
 Set channel frequency/bandwidth. More...
 
void emulatedCoverageRange (unsigned distance)
 
- Protected Member Functions inherited from senf::emu::EmulatedInterface
 EmulatedInterface ()
 
void init ()
 
void emulationAddress (UDPClientHandle::Address const &address)
 Change the emulated traffic multicast address. More...
 
void enableEmulatedInterface ()
 Enable the interface. More...
 
void disableEmulatedInterface ()
 Disable the interface. More...
 
bool emulatedInterfaceEnabled () const
 Get current interface state. More...
 
- Protected Member Functions inherited from senf::emu::DVBInterface
void init ()
 
- Protected Member Functions inherited from senf::emu::WirelessInterface
 WirelessInterface ()
 
void init ()
 
void clearRegisteredFrequencies ()
 remove all registered frequencies More...
 
void clearRegisteredModulations ()
 remove all registered modulations More...
 
void registerFrequency (unsigned frequency, unsigned bandwidth)
 register single frequency/bandwidth combination More...
 
void registerFrequency (unsigned frequencyLower, unsigned frequencyUpper, unsigned bandwidthLower, unsigned bandwidthUpper)
 register frequency/bandwidth range More...
 
void registerModulation (ModulationParameter::id_t id)
 register modulation configuration More...
 
- Protected Member Functions inherited from senf::emu::Interface
 Interface ()
 
void init ()
 Initialize interface. More...
 
- Protected Member Functions inherited from senf::emu::WirelessTransmitter
 WirelessTransmitter (ppi::connector::PassiveInput<> &input)
 
 WirelessTransmitter (ppi::connector::PassiveInput< EthernetPacket > &input)
 
 WirelessTransmitter (ppi::connector::PassiveInputJack<> &input)
 
 WirelessTransmitter (ppi::connector::PassiveInputJack< EthernetPacket > &input)
 
void init ()
 
void registerTxPower (int power)
 
void registerTxPower (int powerLower, int powerUpper)
 
- Protected Member Functions inherited from senf::emu::EmulatedWirelessTransmitter
 EmulatedWirelessTransmitter ()
 
void init ()
 
- Protected Member Functions inherited from senf::emu::EmulatedTransmitter
 EmulatedTransmitter ()
 
void init ()
 
void initEmulatedTransmitter ()
 Initialize transmitter. More...
 
void deinitEmulatedTransmitter ()
 Shut down transmitter. More...
 
unsigned mtuEmulatedTransmitter () const
 Get emulated MTU. More...
 
void mtuEmulatedTransmitter (unsigned v)
 Set emulated MTU. More...
 
virtual Packet::size_type v_emulatedPayloadSize (Packet packet)
 Called to get size of payload. More...
 
- Protected Attributes inherited from senf::emu::EmulatedDVBInterface
ModulationParameter::id_t modulationId_
 
MACAddress id_
 
std::string dev_
 
- Protected Attributes inherited from senf::emu::EmulatedWirelessTransmitter
ppi::connector::PassiveInputJack transmitterJack
 
- Protected Attributes inherited from senf::emu::EmulatedTransmitter
ppi::connector::PassiveInputJack transmitterJack
 

Detailed Description

Emulated DVBSender Interface.

Definition at line 68 of file EmulatedDVBInterface.hh.

Member Typedef Documentation

◆ Decorator

Constructor & Destructor Documentation

◆ EmulatedDVBSenderInterface()

senf::emu::EmulatedDVBSenderInterface::EmulatedDVBSenderInterface ( )

Definition at line 99 of file EmulatedDVBInterface.cc.


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