CsmaNetDevice Record. More...
#include "csma-channel.h"
Collaboration diagram for ns3::CsmaDeviceRec: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 42 of file csma-channel.h.
| ns3::CsmaDeviceRec::CsmaDeviceRec | ( | ) |
Definition at line 335 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 340 of file csma-channel.cc.
| ns3::CsmaDeviceRec::CsmaDeviceRec | ( | const CsmaDeviceRec & | o | ) |
| bool ns3::CsmaDeviceRec::IsActive | ( | ) | const |
Definition at line 353 of file csma-channel.cc.
References active.
| bool ns3::CsmaDeviceRec::active |
Is net device enabled to TX/RX.
Definition at line 46 of file csma-channel.h.
Referenced by CsmaDeviceRec(), and IsActive().
| Ptr<CsmaNetDevice> ns3::CsmaDeviceRec::devicePtr |
Pointer to the net device.
Definition at line 45 of file csma-channel.h.
Referenced by CsmaDeviceRec().