PdcpTxEntityBase.h Source File

Simu5G: PdcpTxEntityBase.h Source File
Simu5G
PdcpTxEntityBase.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 _PDCP_TX_ENTITY_BASE_H_
13#define _PDCP_TX_ENTITY_BASE_H_
14
15#include <omnetpp.h>
16#include <inet/common/InitStages.h>
17
18namespace inet { class Packet; }
19
20namespace simu5g {
21
28class PdcpTxEntityBase : public omnetpp::cSimpleModule
29{
30 protected:
31 void handleMessage(omnetpp::cMessage *msg) override;
32
33 public:
34 virtual void handlePacketFromUpperLayer(inet::Packet *pkt) = 0;
35 int numInitStages() const override { return inet::NUM_INIT_STAGES; }
36};
37
38} // namespace simu5g
39
40#endif
Abstract base class for all TX PDCP entities.
Definition PdcpTxEntityBase.h:29
Definition AlertReceiver.h:24