remove unimplemented methods from emu class + rescan
authorCraig Dowell <craigdo@ee.washington.edu>
Wed, 05 Nov 2008 15:00:59 -0800
changeset 3843ca2159d54d75
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
     1.1 --- a/bindings/python/ns3_module_emu.py	Wed Nov 05 14:49:21 2008 -0800
     1.2 +++ b/bindings/python/ns3_module_emu.py	Wed Nov 05 15:00:59 2008 -0800
     1.3 @@ -64,10 +64,6 @@
     1.4      cls.add_method('SetDataRate', 
     1.5                     'void', 
     1.6                     [param('ns3::DataRate', 'bps')])
     1.7 -    ## emu-net-device.h: void ns3::EmuNetDevice::SetInterframeGap(ns3::Time t) [member function]
     1.8 -    cls.add_method('SetInterframeGap', 
     1.9 -                   'void', 
    1.10 -                   [param('ns3::Time', 't')])
    1.11      ## emu-net-device.h: void ns3::EmuNetDevice::Start(ns3::Time tStart) [member function]
    1.12      cls.add_method('Start', 
    1.13                     'void', 
    1.14 @@ -80,10 +76,6 @@
    1.15      cls.add_method('SetQueue', 
    1.16                     'void', 
    1.17                     [param('ns3::Ptr< ns3::Queue >', 'queue')])
    1.18 -    ## emu-net-device.h: void ns3::EmuNetDevice::Receive(ns3::Ptr<ns3::Packet> p) [member function]
    1.19 -    cls.add_method('Receive', 
    1.20 -                   'void', 
    1.21 -                   [param('ns3::Ptr< ns3::Packet >', 'p')])
    1.22      ## emu-net-device.h: void ns3::EmuNetDevice::SetAddress(ns3::Mac48Address addr) [member function]
    1.23      cls.add_method('SetAddress', 
    1.24                     'void', 
     2.1 --- a/src/devices/emu/emu-net-device.h	Wed Nov 05 14:49:21 2008 -0800
     2.2 +++ b/src/devices/emu/emu-net-device.h	Wed Nov 05 15:00:59 2008 -0800
     2.3 @@ -69,14 +69,6 @@
     2.4    void SetDataRate (DataRate bps);
     2.5  
     2.6    /**
     2.7 -   * Set the inteframe gap used to separate packets.  The interframe gap
     2.8 -   * defines the minimum space required between packets sent by this device.
     2.9 -   *
    2.10 -   * @param t the interframe gap time
    2.11 -   */
    2.12 -  void SetInterframeGap (Time t);
    2.13 -
    2.14 -  /**
    2.15     * Set a start time for the device.
    2.16     *
    2.17     * @param tStart the start time
    2.18 @@ -103,17 +95,6 @@
    2.19    void SetQueue (Ptr<Queue> queue);
    2.20  
    2.21    /**
    2.22 -   * Receive a packet.
    2.23 -   *
    2.24 -   * The EmuNetDevice receives packets from its socket reader
    2.25 -   * and forwards them up the protocol stack.  This is the public method
    2.26 -   * used by the reader to indicate that a packet has arrived at the device.
    2.27 -   *
    2.28 -   * @param p Ptr to the received packet.
    2.29 -   */
    2.30 -  void Receive (Ptr<Packet> p);
    2.31 -
    2.32 -  /**
    2.33     * Assign a MAC address to this device.
    2.34     *
    2.35     * @see Mac48Address