RlcTmTxEntity.h Source File

Simu5G: RlcTmTxEntity.h Source File
Simu5G
RlcTmTxEntity.h
1//
2// Simu5G
3//
4// Authors: Giovanni Nardini, Giovanni Stea, Antonio Virdis (University of Pisa)
5//
6// This file is part of a software released under the license included in file
7// "license.pdf". Please read LICENSE and README files before using it.
8// The above files and the present reference are part of the software itself,
9// and cannot be removed from it.
10//
11
12#ifndef _SIMU5G_RLCTMTXENTITY_H_
13#define _SIMU5G_RLCTMTXENTITY_H_
14
15#include <inet/common/packet/Packet.h>
16
17#include "simu5g/stack/rlc/RlcTxEntityBase.h"
18
19namespace simu5g {
20
28{
29 protected:
30 inet::cPacketQueue queuedPdus_;
31 int queueSize_ = 0; // max queue length in packets (0: unlimited)
32
33 static inet::simsignal_t rlcPacketLossDlSignal_;
34 static inet::simsignal_t rlcPacketLossUlSignal_;
35
36 void initialize(int stage) override;
37 void handleMessage(omnetpp::cMessage *msg) override;
38
39 virtual void handleSdu(inet::Packet *pkt);
40 virtual void handleMacSduRequest(inet::Packet *pkt);
41};
42
43} // namespace simu5g
44
45#endif
Transmission entity for Transparent Mode (TM).
Definition RlcTmTxEntity.h:28
Abstract base class for all RLC TX entities (UM, TM, AM).
Definition RlcTxEntityBase.h:29
Definition AlertReceiver.h:24