Loading...
Searching...
No Matches
satellite-gw-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_GW_HELPER_DVB_H
23#define SATELLITE_GW_HELPER_DVB_H
24
25#include "satellite-gw-helper.h"
26
27#include "ns3/satellite-channel.h"
28#include "ns3/satellite-mac.h"
29#include "ns3/satellite-ncc.h"
30#include "ns3/satellite-superframe-sequence.h"
31#include "ns3/satellite-typedefs.h"
32
33#include <stdint.h>
34#include <string>
35
36namespace ns3
37{
38
45{
46 public:
51 static TypeId GetTypeId(void);
52
57
63 uint32_t fwdLinkCarrierCount,
64 Ptr<SatSuperframeSeq> seq,
68 RandomAccessSettings_s randomAccessSettings);
69
71 {
72 }
73
92 virtual Ptr<NetDevice> Install(Ptr<Node> n,
93 uint32_t gwId,
94 uint32_t satId,
95 uint32_t beamId,
96 uint32_t feederSatId,
97 uint32_t feederBeamId,
98 Ptr<SatChannel> fCh,
99 Ptr<SatChannel> rCh,
101 Ptr<SatNcc> ncc,
102 Ptr<SatLowerLayerServiceConf> llsConf);
103};
104
105} // namespace ns3
106
107#endif /* SATELLITE_GW_HELPER_DVB_H */
virtual Ptr< NetDevice > Install(Ptr< Node > n, uint32_t gwId, uint32_t satId, uint32_t beamId, uint32_t feederSatId, uint32_t feederBeamId, Ptr< SatChannel > fCh, Ptr< SatChannel > rCh, SatPhy::ChannelPairGetterCallback cbChannel, Ptr< SatNcc > ncc, Ptr< SatLowerLayerServiceConf > llsConf)
SatGwHelperDvb()
Default constructor.
static TypeId GetTypeId(void)
Get the type ID.
SatGwHelper()
Default constructor.
Callback< uint32_t, Ptr< SatControlMessage > > ReserveCtrlMsgCallback
Callback to reserve an id and initially store the control message.
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.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.