RlcRxEntityBase.h Source File

Simu5G: RlcRxEntityBase.h Source File
Simu5G
RlcRxEntityBase.h
1//
2// Simu5G
3//
4// Authors: Giovanni Nardini, Giovanni Stea, Antonio Virdis (University of Pisa), Andras Varga (OpenSim Ltd)
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 _RLC_RX_ENTITY_BASE_H_
13#define _RLC_RX_ENTITY_BASE_H_
14
15#include <omnetpp.h>
16#include <inet/common/InitStages.h>
17
18#include "simu5g/common/LteControlInfo.h"
19
20namespace simu5g {
21
28class RlcRxEntityBase : public omnetpp::cSimpleModule
29{
30 protected:
31 FlowControlInfo *flowControlInfo_ = nullptr;
32
33 void handleMessage(omnetpp::cMessage *msg) override;
34
35 ~RlcRxEntityBase() override { delete flowControlInfo_; }
36
37 public:
38 virtual void setFlowControlInfo(FlowControlInfo *info);
39 FlowControlInfo *getFlowControlInfo() { return flowControlInfo_; }
40
41 int numInitStages() const override { return inet::NUM_INIT_STAGES; }
42};
43
44} // namespace simu5g
45
46#endif
Abstract base class for all RLC RX entities (UM, TM, AM).
Definition RlcRxEntityBase.h:29
Definition AlertReceiver.h:24