17 #ifndef HH_SENF_Ext_NetEmu_DVB_EmulatedDVBInterface_ 18 #define HH_SENF_Ext_NetEmu_DVB_EmulatedDVBInterface_ 1 56 std::string
const &
v_device()
const override;
69 :
private detail::EmulatedDVBSenderInterfaceNet,
85 virtual int v_txPower()
const override;
86 virtual void v_txPower(
int power)
override;
87 virtual unsigned v_mtu()
const override;
88 virtual void v_mtu(
unsigned v)
override;
94 friend struct detail::EmulatedDVBSenderInterfaceNet;
103 :
private detail::EmulatedDVBReceiverInterfaceNet,
116 virtual bool v_promisc()
const override;
117 virtual void v_promisc(
bool v)
override;
118 virtual bool v_annotationMode()
const override;
119 virtual void v_annotationMode(
bool v)
override;
120 virtual void v_mcAdd(
MACAddress const & address)
override;
121 virtual void v_mcDrop(
MACAddress const & address)
override;
125 friend struct detail::EmulatedDVBReceiverInterfaceNet;
void registerTxPower(int power)
TypedInterfaceDecorator< EmulatedDVBSenderInterface, WirelessInterface::Decorator > Decorator
Emulated wireless receiver base-class.
Emulated wireless transmitter base-class.
virtual void v_initEmulationInterface()=0
Called to initialize the emulated interface.
virtual void v_coverageRange(unsigned distance) override
virtual unsigned v_frequency() const override
Called to get current frequency.
TypedInterfaceDecorator< EmulatedDVBReceiverInterface, WirelessInterface::Decorator > Decorator
Emulated DVBReceiver Interface.
unsigned frequency() const
Get current channel frequency.
Receive capable wireless interface base class.
std::string const & v_device() const override
Emulated DVBSender Interface.
ModulationParameter::id_t modulationId_
Emulated wireless interface base-class.
virtual void v_enable() override
Called to enable interface.
unsigned bandwidth() const
Get current bandwidth.
void registerFrequency(unsigned frequenc)
virtual unsigned v_bandwidth() const override
Called to get current bandwidth.
virtual void v_deinitEmulationInterface()=0
Called to shut down the emulated interface.
virtual void v_disable() override
Called to disable interface.
DVBInterface public header.
virtual void v_tune(DVBModulationParameter::fec_rate_t fec, DVBModulationParameter::modulation_t mod, DVBModulationParameter::guard_interval_t gi, unsigned frequency) override
Specialized Interface decorator base-class.
virtual bool v_enabled() const override
Return true if interface is enabled.
Transmit capable wireless interface base class.
EmulatedWirelessInterface public header.
virtual MACAddress v_id() const override
Return the interface mac address.