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

#include <lte-simple-helper.h>

+ Inheritance diagram for ns3::LteSimpleHelper:

Public Member Functions

virtual void DoDispose (void)
 
void EnableDlPdcpTraces (void)
 
void EnableDlRlcTraces (void)
 
void EnableLogComponents (void)
 
void EnablePdcpTraces (void)
 
void EnableRlcTraces (void)
 
void EnableTraces (void)
 
void EnableUlPdcpTraces (void)
 
void EnableUlRlcTraces (void)
 
NetDeviceContainer InstallEnbDevice (NodeContainer c)
 
NetDeviceContainer InstallUeDevice (NodeContainer c)
 
- Public Member Functions inherited from ns3::Object
void AggregateObject (Ptr< Object > other)
 
void Dispose (void)
 
AggregateIterator GetAggregateIterator (void) const
 
virtual TypeId GetInstanceTypeId (void) const
 
template<typename T >
Ptr< T > GetObject (void) const
 
template<typename T >
Ptr< T > GetObject (TypeId tid) const
 
void Initialize (void)
 
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount (const SimpleRefCount &o)
 
uint32_t GetReferenceCount (void) const
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 
void Ref (void) const
 
void Unref (void) const
 
- Public Member Functions inherited from ns3::ObjectBase
void GetAttribute (std::string name, AttributeValue &value) const
 
bool GetAttributeFailSafe (std::string name, AttributeValue &attribute) const
 
void SetAttribute (std::string name, const AttributeValue &value)
 
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
 
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
 
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
 
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
 
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)
 

Static Public Member Functions

static TypeId GetTypeId (void)
 
- Static Public Member Functions inherited from ns3::Object
static TypeId GetTypeId (void)
 
- Static Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
static void Cleanup (void)
 
- Static Public Member Functions inherited from ns3::ObjectBase
static TypeId GetTypeId (void)
 

Public Attributes

Ptr< LteTestMacm_enbMac
 
Ptr< LteTestRrcm_enbRrc
 
Ptr< LteTestMacm_ueMac
 
Ptr< LteTestRrcm_ueRrc
 

Protected Member Functions

virtual void DoInitialize (void)
 
- Protected Member Functions inherited from ns3::Object
 Object (const Object &o)
 
virtual void NotifyNewAggregate (void)
 
- Protected Member Functions inherited from ns3::ObjectBase
void ConstructSelf (const AttributeConstructionList &attributes)
 
virtual void NotifyConstructionCompleted (void)
 

Private Types

enum  LteRlcEntityType_t { RLC_UM = 1, RLC_AM = 2 }
 

Private Member Functions

Ptr< NetDeviceInstallSingleEnbDevice (Ptr< Node > n)
 
Ptr< NetDeviceInstallSingleUeDevice (Ptr< Node > n)
 

Private Attributes

ObjectFactory m_enbDeviceFactory
 
Ptr< LtePdcpm_enbPdcp
 
Ptr< LteRlcm_enbRlc
 
enum
ns3::LteSimpleHelper::LteRlcEntityType_t 
m_lteRlcEntityType
 
Ptr< SimpleChannelm_phyChannel
 
ObjectFactory m_ueDeviceFactory
 
Ptr< LtePdcpm_uePdcp
 
Ptr< LteRlcm_ueRlc
 

Detailed Description

Creation and configuration of LTE entities

Definition at line 43 of file lte-simple-helper.h.

Member Function Documentation

void ns3::LteSimpleHelper::DoDispose ( void  )
virtual

This method is called by Object::Dispose or by the object's destructor, whichever comes first.

Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.

It is safe to call GetObject from within this method.

Reimplemented from ns3::Object.

Definition at line 80 of file lte-simple-helper.cc.

References ns3::Object::DoDispose(), and NS_LOG_FUNCTION.

void ns3::LteSimpleHelper::DoInitialize ( void  )
protectedvirtual

This method is called only once by Object::Initialize. If the user calls Object::Initialize multiple times, DoInitialize is called only the first time.

Subclasses are expected to override this method and chain up to their parent's implementation once they are done. It is safe to call GetObject and AggregateObject from within this method.

Reimplemented from ns3::Object.

Definition at line 48 of file lte-simple-helper.cc.

References ns3::Object::DoInitialize(), and NS_LOG_FUNCTION.

void ns3::LteSimpleHelper::EnableDlPdcpTraces ( void  )

Enable trace sinks for DL PDCP layer

Definition at line 320 of file lte-simple-helper.cc.

References NS_LOG_FUNCTION_NOARGS.

Referenced by EnablePdcpTraces().

void ns3::LteSimpleHelper::EnableDlRlcTraces ( void  )

Enable trace sinks for DL RLC layer

Definition at line 269 of file lte-simple-helper.cc.

References NS_LOG_FUNCTION_NOARGS.

Referenced by EnableRlcTraces().

void ns3::LteSimpleHelper::EnableLogComponents ( void  )

Enables logging for all components of the LENA architecture

Definition at line 216 of file lte-simple-helper.cc.

References ns3::LogComponentEnable().

void ns3::LteSimpleHelper::EnablePdcpTraces ( void  )

Enable trace sinks for PDCP layer

Definition at line 313 of file lte-simple-helper.cc.

References EnableDlPdcpTraces(), and EnableUlPdcpTraces().

Referenced by EnableTraces().

void ns3::LteSimpleHelper::EnableRlcTraces ( void  )

Enable trace sinks for RLC layer

Definition at line 241 of file lte-simple-helper.cc.

References EnableDlRlcTraces(), and EnableUlRlcTraces().

Referenced by EnableTraces().

void ns3::LteSimpleHelper::EnableTraces ( void  )

Enables trace sinks for MAC, RLC and PDCP

Definition at line 233 of file lte-simple-helper.cc.

References EnablePdcpTraces(), and EnableRlcTraces().

void ns3::LteSimpleHelper::EnableUlPdcpTraces ( void  )

Enable trace sinks for UL PDCP layer

Definition at line 331 of file lte-simple-helper.cc.

References NS_LOG_FUNCTION_NOARGS.

Referenced by EnablePdcpTraces().

void ns3::LteSimpleHelper::EnableUlRlcTraces ( void  )

Enable trace sinks for UL RLC layer

Definition at line 301 of file lte-simple-helper.cc.

References NS_LOG_FUNCTION_NOARGS.

Referenced by EnableRlcTraces().

NetDeviceContainer ns3::LteSimpleHelper::InstallEnbDevice ( NodeContainer  c)

create a set of eNB devices

Parameters
cthe node container where the devices are to be installed
Returns
the NetDeviceContainer with the newly created devices

Definition at line 95 of file lte-simple-helper.cc.

References ns3::NetDeviceContainer::Add(), ns3::NodeContainer::Begin(), ns3::NodeContainer::End(), ns3::Object::Initialize(), and NS_LOG_FUNCTION.

NetDeviceContainer ns3::LteSimpleHelper::InstallUeDevice ( NodeContainer  c)

create a set of UE devices

Parameters
cthe node container where the devices are to be installed
Returns
the NetDeviceContainer with the newly created devices

Definition at line 110 of file lte-simple-helper.cc.

References ns3::NetDeviceContainer::Add(), ns3::NodeContainer::Begin(), ns3::NodeContainer::End(), and NS_LOG_FUNCTION.


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