ns3::CsmaDeviceRec Class Reference

CsmaNetDevice Record. More...

#include <csma-channel.h>

Collaboration diagram for ns3::CsmaDeviceRec:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Public Attributes

Ptr< CsmaNetDevicedevicePtr
bool active
 Pointer to the net device.

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.


Constructor & Destructor Documentation

ns3::CsmaDeviceRec::CsmaDeviceRec (  ) 

Is net device enabled to TX/RX.

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

References active.

ns3::CsmaDeviceRec::CsmaDeviceRec ( Ptr< CsmaNetDevice device  ) 

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

References active, and devicePtr.


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 343 of file csma-channel.cc.

References active.


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Thu Dec 3 14:10:39 2009 for NS-3 by  doxygen 1.6.3