CsmaNetDevice Record. More...
#include <csma-channel.h>
Public Member Functions | |
CsmaDeviceRec () | |
Is net device enabled to TX/RX. | |
CsmaDeviceRec (Ptr< CsmaNetDevice > device) | |
bool | IsActive () |
Public Attributes | |
Ptr< CsmaNetDevice > | devicePtr |
bool | active |
Pointer to the net device. |
CsmaNetDevice Record.
Stores the information related to each net device that is connected to the channel.
Definition at line 41 of file csma-channel.h.
ns3::CsmaDeviceRec::CsmaDeviceRec | ( | ) |
ns3::CsmaDeviceRec::CsmaDeviceRec | ( | Ptr< CsmaNetDevice > | device | ) |
Definition at line 336 of file csma-channel.cc.
bool ns3::CsmaDeviceRec::IsActive | ( | ) |
Definition at line 343 of file csma-channel.cc.
References active.
Pointer to the net device.
Definition at line 44 of file csma-channel.h.
Referenced by CsmaDeviceRec(), and IsActive().
Definition at line 43 of file csma-channel.h.
Referenced by CsmaDeviceRec().