Loading...
Searching...
No Matches
satellite-ut-helper-dvb.h
Go to the documentation of this file.
1/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/*
3 * Copyright (c) 2013 Magister Solutions Ltd
4 * Copyright (c) 2018 CNES
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation;
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 * Author: Bastien Tauran <bastien.tauran@viveris.fr>
20 */
21
22#ifndef SATELLITE_UT_HELPER_DVB_H
23#define SATELLITE_UT_HELPER_DVB_H
24
25#include "satellite-ut-helper.h"
26
27#include "ns3/satellite-channel.h"
28#include "ns3/satellite-ncc.h"
29#include "ns3/satellite-superframe-sequence.h"
30#include "ns3/satellite-typedefs.h"
31#include "ns3/satellite-ut-mac.h"
32
33#include <stdint.h>
34
35namespace ns3
36{
37
44{
45 public:
49 static TypeId GetTypeId(void);
50
55
61 uint32_t rtnLinkCarrierCount,
62 Ptr<SatSuperframeSeq> seq,
66 RandomAccessSettings_s randomAccessSettings);
67
72 {
73 }
74
93 virtual Ptr<NetDevice> Install(Ptr<Node> n,
94 uint32_t satId,
95 uint32_t beamId,
96 Ptr<SatChannel> fCh,
97 Ptr<SatChannel> rCh,
98 Ptr<SatNetDevice> gwNd,
99 Ptr<SatNcc> ncc,
100 Address satUserAddress,
103};
104
105} // namespace ns3
106
107#endif /* SATELLITE_UT_HELPER_DVB_H */
Callback< uint32_t, Ptr< SatControlMessage > > ReserveCtrlMsgCallback
Callback to reserve an id and initially store the control message.
Callback< void, Address, Address > RoutingUpdateCallback
Callback to update routing and ARP tables after handover.
Callback< uint32_t, uint32_t > SendCtrlMsgCallback
Callback to send a control message and allocate a recv ID for it.
Callback< Ptr< SatControlMessage >, uint32_t > ReadCtrlMsgCallback
Callback to read control messages from container storing control messages.
Callback< SatChannelPair::ChannelPair_t, uint32_t, uint32_t > ChannelPairGetterCallback
Callback for retrieving a pair of SatChannel associated to a beam.
Callback< double, SatEnums::ChannelType_t, uint32_t, SatEnums::CarrierBandwidthType_t > CarrierBandwidthConverter_t
Callback for carrier bandwidths.
virtual Ptr< NetDevice > Install(Ptr< Node > n, uint32_t satId, uint32_t beamId, Ptr< SatChannel > fCh, Ptr< SatChannel > rCh, Ptr< SatNetDevice > gwNd, Ptr< SatNcc > ncc, Address satUserAddress, SatPhy::ChannelPairGetterCallback cbChannel, SatMac::RoutingUpdateCallback cbRouting)
static TypeId GetTypeId(void)
Derived from Object.
virtual ~SatUtHelperDvb()
Destructor.
SatUtHelperDvb()
Default constructor.
SatUtHelper()
Default constructor.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.
Define RandomAccessSettings as a struct.