ns-3
ns3::Cid Class Reference

List of all members.

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 IsMulticast (void) const
bool IsBroadcast (void) const
bool IsPadding (void) const
bool IsInitialRanging (void) const

Static Public Member Functions

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

Friends

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

Member Function Documentation

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

Referenced by IsBroadcast().

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

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

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

References Broadcast().

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

References InitialRanging().

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

References Padding().

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

Referenced by IsPadding().


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