remove unimplemented methods from emu class + rescan
authorCraig Dowell <craigdo@ee.washington.edu>
Wed, 05 Nov 2008 15:00:59 -0800
changeset 3843 ca2159d54d75
parent 3842 545ddf9398ed
child 3844 df9b99bc768c
remove unimplemented methods from emu class + rescan
bindings/python/ns3_module_emu.py
src/devices/emu/emu-net-device.h
--- a/bindings/python/ns3_module_emu.py	Wed Nov 05 14:49:21 2008 -0800
+++ b/bindings/python/ns3_module_emu.py	Wed Nov 05 15:00:59 2008 -0800
@@ -64,10 +64,6 @@
     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 @@
     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', 
--- a/src/devices/emu/emu-net-device.h	Wed Nov 05 14:49:21 2008 -0800
+++ b/src/devices/emu/emu-net-device.h	Wed Nov 05 15:00:59 2008 -0800
@@ -69,14 +69,6 @@
   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.
    *
    * @param tStart the start time
@@ -103,17 +95,6 @@
   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.
    *
    * @see Mac48Address