src/devices/wifi/wifi-channel.cc
changeset 3212 0c00342d6a73
parent 2965 4b28e9740e3b
child 3878 3b7d0c1fce02
equal deleted inserted replaced
3211:09b43ff43df0 3212:0c00342d6a73
    36 WifiChannel::GetTypeId (void)
    36 WifiChannel::GetTypeId (void)
    37 {
    37 {
    38   static TypeId tid = TypeId ("ns3::WifiChannel")
    38   static TypeId tid = TypeId ("ns3::WifiChannel")
    39     .SetParent<Channel> ()
    39     .SetParent<Channel> ()
    40     .AddConstructor<WifiChannel> ()
    40     .AddConstructor<WifiChannel> ()
    41     .AddAttribute ("PropagationLossModel", "XXX",
    41     .AddAttribute ("PropagationLossModel", "A pointer to the propagation loss model attached to this channel.",
    42                    PointerValue (),
    42                    PointerValue (),
    43                    MakePointerAccessor (&WifiChannel::m_loss),
    43                    MakePointerAccessor (&WifiChannel::m_loss),
    44                    MakePointerChecker<PropagationLossModel> ())
    44                    MakePointerChecker<PropagationLossModel> ())
    45     .AddAttribute ("PropagationDelayModel", "XXX",
    45     .AddAttribute ("PropagationDelayModel", "A pointer to the propagation delay model attached to this channel.",
    46                    PointerValue (),
    46                    PointerValue (),
    47                    MakePointerAccessor (&WifiChannel::m_delay),
    47                    MakePointerAccessor (&WifiChannel::m_delay),
    48                    MakePointerChecker<PropagationDelayModel> ())
    48                    MakePointerChecker<PropagationDelayModel> ())
    49     ;
    49     ;
    50   return tid;
    50   return tid;