Index: src/wifi/helper/wifi-helper.h |
=================================================================== |
--- a/src/wifi/helper/wifi-helper.h |
+++ b/src/wifi/helper/wifi-helper.h |
@@ -125,7 +125,7 @@ |
* All the attributes specified in this method should exist |
* in the requested station manager. |
*/ |
- void SetRemoteStationManager (std::string type, |
+ virtual void SetRemoteStationManager (std::string type, |
std::string n0 = "", const AttributeValue &v0 = EmptyAttributeValue (), |
std::string n1 = "", const AttributeValue &v1 = EmptyAttributeValue (), |
std::string n2 = "", const AttributeValue &v2 = EmptyAttributeValue (), |
@@ -140,7 +140,7 @@ |
* \param c the set of nodes on which a wifi device must be created |
* \returns a device container which contains all the devices created by this method. |
*/ |
- NetDeviceContainer Install (const WifiPhyHelper &phy, |
+ virtual NetDeviceContainer Install (const WifiPhyHelper &phy, |
const WifiMacHelper &mac, NodeContainer c) const; |
/** |
* \param phy the PHY helper to create PHY objects |
@@ -148,7 +148,7 @@ |
* \param node the node on which a wifi device must be created |
* \returns a device container which contains all the devices created by this method. |
*/ |
- NetDeviceContainer Install (const WifiPhyHelper &phy, |
+ virtual NetDeviceContainer Install (const WifiPhyHelper &phy, |
const WifiMacHelper &mac, Ptr<Node> node) const; |
/** |
* \param phy the PHY helper to create PHY objects |
@@ -156,7 +156,7 @@ |
* \param nodeName the name of node on which a wifi device must be created |
* \returns a device container which contains all the devices created by this method. |
*/ |
- NetDeviceContainer Install (const WifiPhyHelper &phy, |
+ virtual NetDeviceContainer Install (const WifiPhyHelper &phy, |
const WifiMacHelper &mac, std::string nodeName) const; |
/** |
@@ -164,7 +164,7 @@ |
* |
* By default, all objects are configured for 802.11a |
*/ |
- void SetStandard (enum WifiPhyStandard standard); |
+ virtual void SetStandard (enum WifiPhyStandard standard); |
/** |
* Helper to enable all WifiNetDevice log components with one statement |
@@ -185,9 +185,9 @@ |
* \param stream first stream index to use |
* \return the number of stream indices assigned by this helper |
*/ |
- int64_t AssignStreams (NetDeviceContainer c, int64_t stream); |
+ virtual int64_t AssignStreams (NetDeviceContainer c, int64_t stream); |
-private: |
+protected: |
ObjectFactory m_stationManager; |
enum WifiPhyStandard m_standard; |
}; |