Loading...
Searching...
No Matches
satellite-interference-elimination.h
Go to the documentation of this file.
1/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/*
3 * Copyright (c) 2018 CNES
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: Mathias Ettinger <mettinger@toulouse.viveris.com>
19 */
20
21#ifndef SATELLITE_INTERFERENCE_ELIMINATION_H
22#define SATELLITE_INTERFERENCE_ELIMINATION_H
23
24#include "ns3/object.h"
25
26namespace ns3
27{
28
30
35class SatInterferenceElimination : public Object
36{
37 public:
41 static TypeId GetTypeId(void);
42
47
52
60 virtual void EliminateInterferences(Ptr<SatSignalParameters> packetInterferedWith,
61 Ptr<SatSignalParameters> processedPacket,
62 double EsNo,
63 bool isRegenerative) = 0;
64
74 virtual void EliminateInterferences(Ptr<SatSignalParameters> packetInterferedWith,
75 Ptr<SatSignalParameters> processedPacket,
76 double EsNo,
77 bool isRegenerative,
78 double startTime,
79 double endTime) = 0;
80
84 virtual double GetResidualPower(Ptr<SatSignalParameters> processedPacket, double EsNo) = 0;
85};
86
87} // namespace ns3
88
89#endif /* SATELLITE_INTERFERENCE_ELIMINATION_H */
virtual ~SatInterferenceElimination()
Destructor for Satellite interference elimination base class.
virtual void EliminateInterferences(Ptr< SatSignalParameters > packetInterferedWith, Ptr< SatSignalParameters > processedPacket, double EsNo, bool isRegenerative, double startTime, double endTime)=0
Calculate residual power of interference for the given packets.
static TypeId GetTypeId(void)
Derived from Object.
virtual void EliminateInterferences(Ptr< SatSignalParameters > packetInterferedWith, Ptr< SatSignalParameters > processedPacket, double EsNo, bool isRegenerative)=0
Calculate residual power of interference for the given packets.
SatInterferenceElimination()
Constructor for Satellite interference elimination base class.
virtual double GetResidualPower(Ptr< SatSignalParameters > processedPacket, double EsNo)=0
Calculate the residual power of interference for a given packet.
Actual physical layer transmission container.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.