src/helper/yans-wifi-helper.h
changeset 6026 38a97b815052
parent 6017 050fa2b861df
child 6028 96fb92f73f3d
equal deleted inserted replaced
6025:97abaecc0e96 6026:38a97b815052
   133  * The yans PHY model is described in "Yet Another Network Simulator", 
   133  * The yans PHY model is described in "Yet Another Network Simulator", 
   134  * http://cutebugs.net/files/wns2-yans.pdf
   134  * http://cutebugs.net/files/wns2-yans.pdf
   135  *
   135  *
   136  * The Pcap and ascii traces generated by the EnableAscii and EnablePcap methods defined
   136  * The Pcap and ascii traces generated by the EnableAscii and EnablePcap methods defined
   137  * in this class correspond to PHY-level traces. 
   137  * in this class correspond to PHY-level traces. 
       
   138  *
       
   139  * Normally we eschew multiple inheritance, however, the classes 
       
   140  * PcapUserHelperForDevice and AsciiTraceUserHelperForDevice are
       
   141  * treated as "mixins".  A mixin is a self-contained class that
       
   142  * encapsulates a general attribute or a set of functionality that
       
   143  * may be of interest to many other classes.
       
   144  * 
       
   145  * Since the mixins below are self-contained and are explicitly 
       
   146  * designed to avoid naming conflicts through explicit resolution,
       
   147  * multiple inheritance problems are avoided.
   138  */
   148  */
   139 class YansWifiPhyHelper : public WifiPhyHelper, public PcapUserHelperForDevice, public AsciiTraceUserHelperForDevice
   149 class YansWifiPhyHelper : public WifiPhyHelper, public PcapUserHelperForDevice, public AsciiTraceUserHelperForDevice
   140 {
   150 {
   141 public:
   151 public:
   142   /**
   152   /**