CsmaNetDevice Record. More...
#include "csma-channel.h"
Public Member Functions | |
CsmaDeviceRec () | |
CsmaDeviceRec (const CsmaDeviceRec &o) | |
Copy constructor. | |
CsmaDeviceRec (Ptr< CsmaNetDevice > device) | |
Constructor Builds a record of the given NetDevice, its status is initialized to enabled. | |
bool | IsActive () const |
Public Attributes | |
bool | active |
Is net device enabled to TX/RX. | |
Ptr< CsmaNetDevice > | devicePtr |
Pointer to the net device. | |
CsmaNetDevice Record.
Stores the information related to each net device that is connected to the channel.
Definition at line 31 of file csma-channel.h.
ns3::CsmaDeviceRec::CsmaDeviceRec | ( | ) |
Definition at line 324 of file csma-channel.cc.
References active.
ns3::CsmaDeviceRec::CsmaDeviceRec | ( | Ptr< CsmaNetDevice > | device | ) |
Constructor Builds a record of the given NetDevice, its status is initialized to enabled.
device | the device to record |
Definition at line 329 of file csma-channel.cc.
ns3::CsmaDeviceRec::CsmaDeviceRec | ( | const CsmaDeviceRec & | o | ) |
bool ns3::CsmaDeviceRec::IsActive | ( | ) | const |
Definition at line 342 of file csma-channel.cc.
References active.
bool ns3::CsmaDeviceRec::active |
Is net device enabled to TX/RX.
Definition at line 35 of file csma-channel.h.
Referenced by CsmaDeviceRec(), CsmaDeviceRec(), CsmaDeviceRec(), and IsActive().
Ptr<CsmaNetDevice> ns3::CsmaDeviceRec::devicePtr |
Pointer to the net device.
Definition at line 34 of file csma-channel.h.
Referenced by CsmaDeviceRec(), and CsmaDeviceRec().