CsmaNetDevice Record. More...
#include "csma-channel.h"
 Collaboration diagram for ns3::CsmaDeviceRec:
 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 31 of file csma-channel.h.
| ns3::CsmaDeviceRec::CsmaDeviceRec | ( | ) | 
Definition at line 321 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 326 of file csma-channel.cc.
| ns3::CsmaDeviceRec::CsmaDeviceRec | ( | const CsmaDeviceRec & | o | ) | 
| bool ns3::CsmaDeviceRec::IsActive | ( | ) | const | 
Definition at line 339 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().