From a51cbb67ca4f0ed4641c303d2dca84516ae936af Mon Sep 17 00:00:00 2001 From: Nicola Baldo Date: Thu, 12 Apr 2012 13:28:31 +0200 Subject: [PATCH] removed inline methods from LtePdcpTag --- src/lte/model/lte-pdcp-tag.cc | 13 +++++++++++++ src/lte/model/lte-pdcp-tag.h | 10 ++-------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/lte/model/lte-pdcp-tag.cc b/src/lte/model/lte-pdcp-tag.cc index c601d61dc..2182872d4 100644 --- a/src/lte/model/lte-pdcp-tag.cc +++ b/src/lte/model/lte-pdcp-tag.cc @@ -84,5 +84,18 @@ PdcpTag::Print (std::ostream &os) const os << m_senderTimestamp; } +Time +PdcpTag::GetSenderTimestamp (void) const +{ + return m_senderTimestamp; +} + +void +PdcpTag::SetSenderTimestamp (Time senderTimestamp) +{ + this->m_senderTimestamp = senderTimestamp; +} + + } // namespace ns3 diff --git a/src/lte/model/lte-pdcp-tag.h b/src/lte/model/lte-pdcp-tag.h index 9f13bd90f..9c66138a9 100644 --- a/src/lte/model/lte-pdcp-tag.h +++ b/src/lte/model/lte-pdcp-tag.h @@ -57,19 +57,13 @@ public: /** * Get the instant when the PDCP delivers the PDU to the MAC SAP provider */ - Time GetSenderTimestamp (void) const - { - return m_senderTimestamp; - } + Time GetSenderTimestamp (void) const; /** * Set the sender timestamp * @param senderTimestamp time stamp of the instant when the PDCP delivers the PDU to the MAC SAP provider */ - void SetSenderTimestamp (Time senderTimestamp) - { - this->m_senderTimestamp = senderTimestamp; - } + void SetSenderTimestamp (Time senderTimestamp); private: Time m_senderTimestamp;