remove unimplemented methods from emu class + rescan
This commit is contained in:
@@ -64,10 +64,6 @@ def register_Ns3EmuNetDevice_methods(root_module, cls):
|
||||
cls.add_method('SetDataRate',
|
||||
'void',
|
||||
[param('ns3::DataRate', 'bps')])
|
||||
## emu-net-device.h: void ns3::EmuNetDevice::SetInterframeGap(ns3::Time t) [member function]
|
||||
cls.add_method('SetInterframeGap',
|
||||
'void',
|
||||
[param('ns3::Time', 't')])
|
||||
## emu-net-device.h: void ns3::EmuNetDevice::Start(ns3::Time tStart) [member function]
|
||||
cls.add_method('Start',
|
||||
'void',
|
||||
@@ -80,10 +76,6 @@ def register_Ns3EmuNetDevice_methods(root_module, cls):
|
||||
cls.add_method('SetQueue',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Queue >', 'queue')])
|
||||
## emu-net-device.h: void ns3::EmuNetDevice::Receive(ns3::Ptr<ns3::Packet> p) [member function]
|
||||
cls.add_method('Receive',
|
||||
'void',
|
||||
[param('ns3::Ptr< ns3::Packet >', 'p')])
|
||||
## emu-net-device.h: void ns3::EmuNetDevice::SetAddress(ns3::Mac48Address addr) [member function]
|
||||
cls.add_method('SetAddress',
|
||||
'void',
|
||||
|
||||
@@ -68,14 +68,6 @@ public:
|
||||
*/
|
||||
void SetDataRate (DataRate bps);
|
||||
|
||||
/**
|
||||
* Set the inteframe gap used to separate packets. The interframe gap
|
||||
* defines the minimum space required between packets sent by this device.
|
||||
*
|
||||
* @param t the interframe gap time
|
||||
*/
|
||||
void SetInterframeGap (Time t);
|
||||
|
||||
/**
|
||||
* Set a start time for the device.
|
||||
*
|
||||
@@ -102,17 +94,6 @@ public:
|
||||
*/
|
||||
void SetQueue (Ptr<Queue> queue);
|
||||
|
||||
/**
|
||||
* Receive a packet.
|
||||
*
|
||||
* The EmuNetDevice receives packets from its socket reader
|
||||
* and forwards them up the protocol stack. This is the public method
|
||||
* used by the reader to indicate that a packet has arrived at the device.
|
||||
*
|
||||
* @param p Ptr to the received packet.
|
||||
*/
|
||||
void Receive (Ptr<Packet> p);
|
||||
|
||||
/**
|
||||
* Assign a MAC address to this device.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user