Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(690)

Unified Diff: src/wifi/helper/wifi-helper.h

Issue 11685043: IEEE 802.11p MAC
Patch Set: updates after midterm review Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/wifi/helper/qos-wifi-mac-helper.h ('k') | src/wifi/helper/yans-wifi-helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « src/wifi/helper/qos-wifi-mac-helper.h ('k') | src/wifi/helper/yans-wifi-helper.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b