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

Public Types

enum  Type {
  BROADCAST = 1, INITIAL_RANGING, BASIC, PRIMARY,
  TRANSPORT, MULTICAST, PADDING
}
 

Public Member Functions

 Cid (uint16_t cid)
 
uint16_t GetIdentifier (void) const
 
bool IsBroadcast (void) const
 
bool IsInitialRanging (void) const
 
bool IsMulticast (void) const
 
bool IsPadding (void) const
 

Static Public Member Functions

static Cid Broadcast (void)
 
static Cid InitialRanging (void)
 
static Cid Padding (void)
 

Private Attributes

uint16_t m_identifier
 

Friends

class CidFactory
 
bool operator== (const Cid &lhs, const Cid &rhs)
 

Detailed Description

Definition at line 35 of file cid.h.

Member Function Documentation

Cid ns3::Cid::Broadcast ( void  )
static
Returns
the broadcast cid

Definition at line 72 of file cid.cc.

Referenced by IsBroadcast().

uint16_t ns3::Cid::GetIdentifier ( void  ) const
Cid ns3::Cid::InitialRanging ( void  )
static
Returns
the initial ranging cid

Definition at line 82 of file cid.cc.

Referenced by IsInitialRanging(), and ns3::UplinkSchedulerRtps::Schedule().

bool ns3::Cid::IsBroadcast ( void  ) const
Returns
true if the cid is a broadcast cid, false otherwise

Definition at line 56 of file cid.cc.

References Broadcast().

bool ns3::Cid::IsInitialRanging ( void  ) const
Returns
true if the cid is an initial ranging cid, false otherwise

Definition at line 66 of file cid.cc.

References InitialRanging().

bool ns3::Cid::IsMulticast ( void  ) const
Returns
true if the cid is a multicast cid, false otherwise

Definition at line 51 of file cid.cc.

bool ns3::Cid::IsPadding ( void  ) const
Returns
true if the cid is a padding cid, false otherwise

Definition at line 61 of file cid.cc.

References Padding().

Cid ns3::Cid::Padding ( void  )
static
Returns
the padding cid

Definition at line 77 of file cid.cc.

Referenced by IsPadding().


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