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 namespace ns3
34 {
35 
36 class NetDevice;
37 class Node;
38 
39 class PointToPointIslHelper : public Object
40 {
41  public:
46  static TypeId GetTypeId(void);
47 
48  // Constructors
50 
51  // Installers
52  NetDeviceContainer Install(Ptr<Node> a, Ptr<Node> b);
53 
54  private:
55  ObjectFactory m_queueFactory;
56  ObjectFactory m_channelFactory;
57  ObjectFactory m_deviceFactory;
58 
59  DataRate m_dataRate;
60  uint32_t m_maxPackets;
61  uint32_t m_maxBytes;
62 };
63 
64 } // namespace ns3
65 
66 #endif /* POINT_TO_POINT_ISL_HELPER_H */
uint32_t m_maxBytes
The maximum number of bytes accepted by ISL queues.
ObjectFactory m_deviceFactory
Device Factory.
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.