minor fixes

This commit is contained in:
Nicola Baldo
2011-03-31 13:41:40 +02:00
parent 6353a7ed4a
commit 7216141cc8
3 changed files with 5 additions and 3 deletions

View File

@@ -49,9 +49,9 @@ namespace ns3 {
LenaHelper::LenaHelper (void)
: m_downlinkChannel (CreateObject<SingleModelSpectrumChannel> ()),
m_uplinkChannel (CreateObject<SingleModelSpectrumChannel> ())
{
m_downlinkChannel = CreateObject<SingleModelSpectrumChannel> ();
m_uplinkChannel = CreateObject<SingleModelSpectrumChannel> ();
Ptr<SpectrumPropagationLossModel> model = CreateObject<FriisSpectrumPropagationLossModel> ();
m_downlinkChannel->AddSpectrumPropagationLossModel (model);

View File

@@ -47,7 +47,7 @@ class LteInterference : public Object
{
public:
LteInterference ();
~LteInterference ();
virtual ~LteInterference ();
// inherited from Object
static TypeId GetTypeId (void);

View File

@@ -48,6 +48,7 @@ LtePhy::LtePhy ()
m_rbgSize (0),
m_macChTtiDelay (1) // 1 TTI delay between MAC and CH
{
NS_LOG_FUNCTION (this);
for (int i = 0; i < m_macChTtiDelay; i++)
{
Ptr<PacketBurst> pb = CreateObject <PacketBurst> ();
@@ -73,6 +74,7 @@ LtePhy::GetTypeId (void)
LtePhy::~LtePhy ()
{
NS_LOG_FUNCTION (this);
}
void