From 08ce187c6bebe50970fe08313d9912d36f163a3d Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Fri, 21 Mar 2008 12:56:40 -0700 Subject: [PATCH] doxygen. --- src/devices/wifi/wifi-net-device.h | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/src/devices/wifi/wifi-net-device.h b/src/devices/wifi/wifi-net-device.h index 3483f7641..6740b9e20 100644 --- a/src/devices/wifi/wifi-net-device.h +++ b/src/devices/wifi/wifi-net-device.h @@ -35,8 +35,10 @@ class WifiPhy; class WifiMac; /** - * \brief the base class for 802.11 network interfaces + * \brief Hold together all Wifi-related objects. * + * This class holds together ns3::WifiChannel, ns3::WifiPhy, + * ns3::WifiMac, and, ns3::WifiRemoteStationManager. */ class WifiNetDevice : public NetDevice { @@ -46,12 +48,33 @@ public: WifiNetDevice (); virtual ~WifiNetDevice (); + /** + * \param mac the mac layer to use. + */ void SetMac (Ptr mac); + /** + * \param phy the phy layer to use. + */ void SetPhy (Ptr phy); + /** + * \param manager the manager to use. + */ void SetRemoteStationManager (Ptr manager); + /** + * \param channel the channel to connect to. + */ void SetChannel (Ptr channel); + /** + * \returns the mac we are currently using. + */ Ptr GetMac (void) const; + /** + * \returns the phy we are currently using. + */ Ptr GetPhy (void) const; + /** + * \returns the remote station manager we are currently using. + */ Ptr GetRemoteStationManager (void) const;