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

Classes

struct  UanTxModeItem
 

Static Public Member Functions

static UanTxMode CreateMode (UanTxMode::ModulationType type, uint32_t dataRateBps, uint32_t phyRateSps, uint32_t cfHz, uint32_t bwHz, uint32_t constSize, std::string name)
 
static UanTxMode GetMode (std::string name)
 
static UanTxMode GetMode (uint32_t uid)
 

Private Member Functions

UanTxModeItemGetModeItem (uint32_t uid)
 
UanTxModeItemGetModeItem (std::string name)
 
UanTxMode MakeModeFromItem (const UanTxModeItem &item)
 
bool NameUsed (std::string name)
 

Static Private Member Functions

static UanTxModeFactoryGetFactory (void)
 

Private Attributes

std::map< uint32_t, UanTxModeItemm_modes
 
uint32_t m_nextUid
 

Friends

class UanTxMode
 

Detailed Description

Definition at line 99 of file uan-tx-mode.h.

Member Function Documentation

UanTxMode ns3::UanTxModeFactory::CreateMode ( UanTxMode::ModulationType  type,
uint32_t  dataRateBps,
uint32_t  phyRateSps,
uint32_t  cfHz,
uint32_t  bwHz,
uint32_t  constSize,
std::string  name 
)
static
Parameters
typemodulation type
dataRateBpsData rate in BPS
phyRateSpsSymbol rate in symbols per second
cfHzCenter frequency in Hz
bwHzBandwidth in Hz
constSizeModulation constellation size (2 for BPSK, 4 for QPSK)
nameUnique string name for this transmission mode

Definition at line 132 of file uan-tx-mode.cc.

References NS_LOG_WARN.

Referenced by ns3::UanPhyGen::GetDefaultModes().

UanTxMode ns3::UanTxModeFactory::GetMode ( std::string  name)
static
Parameters
nameString name of mode
Returns
Mode with given name

Definition at line 194 of file uan-tx-mode.cc.

UanTxMode ns3::UanTxModeFactory::GetMode ( uint32_t  uid)
static
Parameters
uidUnique ID of mode
Returns
The mode with given uid

Definition at line 201 of file uan-tx-mode.cc.


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