removed inline methods from LtePdcpTag

This commit is contained in:
Nicola Baldo
2012-04-12 13:28:31 +02:00
parent 8b4f20d0c9
commit a51cbb67ca
2 changed files with 15 additions and 8 deletions

View File

@@ -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

View File

@@ -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;