Loading...
Searching...
No Matches
satellite-point-to-point-isl-helper.h
Go to the documentation of this file.
1/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/*
3 * Copyright (c) 2008 INRIA
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: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
19 * (based on point-to-point helper)
20 * Author: Andre Aguas March 2020
21 * Simon 2020
22 * Adapted to SNS-3 by: Bastien Tauran <bastien.tauran@viveris.fr>
23 *
24 */
25
26#ifndef POINT_TO_POINT_ISL_HELPER_H
27#define POINT_TO_POINT_ISL_HELPER_H
28
29#include "ns3/data-rate.h"
30#include "ns3/net-device-container.h"
31#include "ns3/object-factory.h"
32
33#include <stdint.h>
34
35namespace ns3
36{
37
38class NetDevice;
39class Node;
40
41class PointToPointIslHelper : public Object
42{
43 public:
48 static TypeId GetTypeId(void);
49
50 // Constructors
52
53 // Installers
54 NetDeviceContainer Install(Ptr<Node> a, Ptr<Node> b);
55
56 private:
57 ObjectFactory m_queueFactory;
58 ObjectFactory m_channelFactory;
59 ObjectFactory m_deviceFactory;
60
61 DataRate m_dataRate;
62 uint32_t m_maxPackets;
63 uint32_t m_maxBytes;
64};
65
66} // namespace ns3
67
68#endif /* POINT_TO_POINT_ISL_HELPER_H */
uint32_t m_maxBytes
The maximum number of bytes accepted by ISL queues.
ObjectFactory m_channelFactory
Channel Factory.
DataRate m_dataRate
Data rate of ISL link.
NetDeviceContainer Install(Ptr< Node > a, Ptr< Node > b)
static TypeId GetTypeId(void)
Get the type ID.
uint32_t m_maxPackets
The maximum number of packets accepted by ISL queues.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.