Make copy constructors of some wifi classes private so that pybindgen won't use them (they are not usable)
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Tue Aug 19 17:45:41 2008 +0100 (17 months ago)
changeset 355904315a10b9c1
parent 3558 db139d2d728e
child 3560 3685ab98e4b2
Make copy constructors of some wifi classes private so that pybindgen won't use them (they are not usable)
src/devices/wifi/adhoc-wifi-mac.h
src/devices/wifi/nqap-wifi-mac.h
src/devices/wifi/nqsta-wifi-mac.h
src/devices/wifi/wifi-phy.h
     1.1 --- a/src/devices/wifi/adhoc-wifi-mac.h	Tue Aug 19 12:53:44 2008 +0100
     1.2 +++ b/src/devices/wifi/adhoc-wifi-mac.h	Tue Aug 19 17:45:41 2008 +0100
     1.3 @@ -77,6 +77,7 @@
     1.4    virtual void DoDispose (void);
     1.5    /* invoked by the MacLows. */
     1.6    void ForwardUp (Ptr<Packet> packet, WifiMacHeader const*hdr);
     1.7 +  AdhocWifiMac (const AdhocWifiMac & ctor_arg);
     1.8  
     1.9    Ptr<DcaTxop> m_dca;
    1.10    Callback<void,Ptr<Packet>,const Mac48Address &> m_upCallback;
     2.1 --- a/src/devices/wifi/nqap-wifi-mac.h	Tue Aug 19 12:53:44 2008 +0100
     2.2 +++ b/src/devices/wifi/nqap-wifi-mac.h	Tue Aug 19 17:45:41 2008 +0100
     2.3 @@ -104,6 +104,7 @@
     2.4    void SetBeaconGeneration (bool enable);
     2.5    bool GetBeaconGeneration (void) const;
     2.6    virtual void DoDispose (void);
     2.7 +  NqapWifiMac (const NqapWifiMac & ctor_arg);
     2.8  
     2.9    Ptr<DcaTxop> m_dca;
    2.10    Ptr<DcaTxop> m_beaconDca;
     3.1 --- a/src/devices/wifi/nqsta-wifi-mac.h	Tue Aug 19 12:53:44 2008 +0100
     3.2 +++ b/src/devices/wifi/nqsta-wifi-mac.h	Tue Aug 19 17:45:41 2008 +0100
     3.3 @@ -120,6 +120,7 @@
     3.4    void RestartBeaconWatchdog (Time delay);
     3.5    SupportedRates GetSupportedRates (void) const;
     3.6    virtual void DoDispose (void);
     3.7 +  NqstaWifiMac (const NqstaWifiMac & ctor_arg);
     3.8  
     3.9    enum {
    3.10      ASSOCIATED,
     4.1 --- a/src/devices/wifi/wifi-phy.h	Tue Aug 19 12:53:44 2008 +0100
     4.2 +++ b/src/devices/wifi/wifi-phy.h	Tue Aug 19 17:45:41 2008 +0100
     4.3 @@ -335,6 +335,8 @@
     4.4                         uint32_t m, uint32_t dfree,
     4.5                         uint32_t adFree, uint32_t adFreePlusOne) const;
     4.6    double GetChunkSuccessRate (WifiMode mode, double snr, uint32_t nbits) const;
     4.7 +  WifiPhy (const WifiPhy & ctor_arg);
     4.8 +
     4.9  private:
    4.10    uint64_t m_txPrepareDelayUs;
    4.11    uint64_t m_plcpLongPreambleDelayUs;