Public Types | Public Member Functions | Static Public Member Functions | Friends

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

static Cid ns3::Cid::Broadcast ( void   )  [static]
Returns:
the broadcast cid
uint16_t ns3::Cid::GetIdentifier ( void   )  const
Returns:
the identifier of the cid
static Cid ns3::Cid::InitialRanging ( void   )  [static]
Returns:
the initial ranging cid
bool ns3::Cid::IsBroadcast ( void   )  const
Returns:
true if the cid is a broadcast cid, false otherwise
bool ns3::Cid::IsInitialRanging ( void   )  const
Returns:
true if the cid is an initial ranging cid, false otherwise
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
static Cid ns3::Cid::Padding ( void   )  [static]
Returns:
the padding cid

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