A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::CsmaDeviceRec Class Reference

CsmaNetDevice Record. More...

#include <csma-channel.h>

Public Member Functions

 CsmaDeviceRec ()
 Is net device enabled to TX/RX.
 
 CsmaDeviceRec (Ptr< CsmaNetDevice > device)
 
 CsmaDeviceRec (CsmaDeviceRec const &)
 
bool IsActive ()
 

Public Attributes

bool active
 Pointer to the net device.
 
Ptr< CsmaNetDevicedevicePtr
 

Detailed Description

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.

Member Function Documentation

bool ns3::CsmaDeviceRec::IsActive ( )
Returns
If the net device pointed to by the devicePtr is active and ready to RX/TX.

Definition at line 361 of file csma-channel.cc.

References active.


The documentation for this class was generated from the following files: