5G-LENA
nr-v4.0
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
nr-pdcp-tag.h
1
// Copyright (c) 2011 CTTC
2
//
3
// SPDX-License-Identifier: GPL-2.0-only
4
//
5
// Author: Jaume Nin <jaume.nin@cttc.es>
6
// Nicola Baldo <nbaldo@cttc.es>
7
8
#ifndef NR_PDCP_TAG_H
9
#define NR_PDCP_TAG_H
10
11
#include "ns3/nstime.h"
12
#include "ns3/packet.h"
13
14
namespace
ns3
15
{
16
17
class
Tag;
18
23
class
NrPdcpTag
:
public
Tag
24
{
25
public
:
30
static
TypeId
GetTypeId
();
31
TypeId GetInstanceTypeId()
const override
;
32
36
NrPdcpTag
();
41
NrPdcpTag
(Time senderTimestamp);
42
43
void
Serialize(TagBuffer i)
const override
;
44
void
Deserialize(TagBuffer i)
override
;
45
uint32_t GetSerializedSize()
const override
;
46
void
Print(std::ostream& os)
const override
;
47
52
Time
GetSenderTimestamp
()
const
;
53
59
void
SetSenderTimestamp
(Time senderTimestamp);
60
61
private
:
62
Time m_senderTimestamp;
63
};
64
65
}
// namespace ns3
66
67
#endif
/* NR_PDCP_TAG_H */
ns3::NrPdcpTag
Definition
nr-pdcp-tag.h:24
ns3::NrPdcpTag::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition
nr-pdcp-tag.cc:32
ns3::NrPdcpTag::GetSenderTimestamp
Time GetSenderTimestamp() const
Definition
nr-pdcp-tag.cc:73
ns3::NrPdcpTag::NrPdcpTag
NrPdcpTag()
Definition
nr-pdcp-tag.cc:18
ns3::NrPdcpTag::SetSenderTimestamp
void SetSenderTimestamp(Time senderTimestamp)
Definition
nr-pdcp-tag.cc:79
model
nr-pdcp-tag.h
Generated on Thu May 15 2025 15:27:31 for 5G-LENA by
1.9.8