PdcpRxEntityBase.h Source File

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