A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
lte-rlc-tm.h
Go to the documentation of this file.
1
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2011,2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2 as
7
* published by the Free Software Foundation;
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
*
18
* Author: Manuel Requena <manuel.requena@cttc.es>
19
* Nicola Baldo <nbaldo@cttc.es>
20
*/
21
22
#ifndef LTE_RLC_TM_H
23
#define LTE_RLC_TM_H
24
25
#include "ns3/lte-rlc.h"
26
27
#include <ns3/event-id.h>
28
#include <map>
29
30
namespace
ns3
{
31
35
class
LteRlcTm
:
public
LteRlc
36
{
37
public
:
38
LteRlcTm
();
39
virtual
~LteRlcTm
();
40
static
TypeId
GetTypeId
(
void
);
41
virtual
void
DoDispose
();
42
46
virtual
void
DoTransmitPdcpPdu
(
Ptr<Packet>
p);
47
51
virtual
void
DoNotifyTxOpportunity
(uint32_t bytes, uint8_t layer, uint8_t harqId);
52
virtual
void
DoNotifyHarqDeliveryFailure
();
53
virtual
void
DoReceivePdu
(
Ptr<Packet>
p);
54
55
private
:
56
void
ExpireRbsTimer
(
void
);
57
void
DoReportBufferStatus
();
58
59
private
:
60
uint32_t
m_maxTxBufferSize
;
61
uint32_t
m_txBufferSize
;
62
std::vector < Ptr<Packet> >
m_txBuffer
;
// Transmission buffer
63
64
EventId
m_rbsTimer
;
65
66
};
67
68
69
}
// namespace ns3
70
71
#endif // LTE_RLC_TM_H
ns3::Ptr< Packet >
ns3::LteRlcTm::m_txBufferSize
uint32_t m_txBufferSize
Definition:
lte-rlc-tm.h:61
ns3::LteRlcTm::DoNotifyHarqDeliveryFailure
virtual void DoNotifyHarqDeliveryFailure()
Definition:
lte-rlc-tm.cc:164
ns3::LteRlcTm::ExpireRbsTimer
void ExpireRbsTimer(void)
Definition:
lte-rlc-tm.cc:221
ns3::LteRlcTm::DoReportBufferStatus
void DoReportBufferStatus()
Definition:
lte-rlc-tm.cc:193
ns3::LteRlcTm::LteRlcTm
LteRlcTm()
Definition:
lte-rlc-tm.cc:34
ns3::LteRlcTm::DoTransmitPdcpPdu
virtual void DoTransmitPdcpPdu(Ptr< Packet > p)
RLC SAP.
Definition:
lte-rlc-tm.cc:78
ns3::LteRlcTm::~LteRlcTm
virtual ~LteRlcTm()
Definition:
lte-rlc-tm.cc:41
ns3::LteRlcTm
LTE RLC Transparent Mode (TM), see 3GPP TS 36.322.
Definition:
lte-rlc-tm.h:35
ns3::LteRlcTm::m_rbsTimer
EventId m_rbsTimer
Definition:
lte-rlc-tm.h:64
ns3::LteRlcTm::m_txBuffer
std::vector< Ptr< Packet > > m_txBuffer
Definition:
lte-rlc-tm.h:62
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::LteRlcTm::GetTypeId
static TypeId GetTypeId(void)
Definition:
lte-rlc-tm.cc:47
ns3::LteRlcTm::DoReceivePdu
virtual void DoReceivePdu(Ptr< Packet > p)
Definition:
lte-rlc-tm.cc:170
ns3::EventId
An identifier for simulation events.
Definition:
event-id.h:53
ns3::LteRlcTm::m_maxTxBufferSize
uint32_t m_maxTxBufferSize
Definition:
lte-rlc-tm.h:60
ns3::LteRlcTm::DoDispose
virtual void DoDispose()
Destructor implementation.
Definition:
lte-rlc-tm.cc:63
ns3::LteRlc
This abstract base class defines the API to interact with the Radio Link Control (LTE_RLC) in LTE...
Definition:
lte-rlc.h:50
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:58
ns3::LteRlcTm::DoNotifyTxOpportunity
virtual void DoNotifyTxOpportunity(uint32_t bytes, uint8_t layer, uint8_t harqId)
MAC SAP.
Definition:
lte-rlc-tm.cc:114
src
lte
model
lte-rlc-tm.h
Generated on Wed Sep 30 2015 15:55:40 for ns-3 by
1.8.9.1