A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
lte-hex-grid-enb-topology-helper.h
1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
2 /*
3  * Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
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: Nicola Baldo <nbaldo@cttc.es>
19  */
20 
21 #ifndef LTE_HEX_GRID_ENB_TOPOLOGY_HELPER_H
22 #define LTE_HEX_GRID_ENB_TOPOLOGY_HELPER_H
23 
24 #include <ns3/lte-helper.h>
25 
26 namespace ns3 {
27 
28 
29 
37 {
38 public:
40  virtual ~LteHexGridEnbTopologyHelper (void);
41 
42  static TypeId GetTypeId (void);
43  virtual void DoDispose (void);
44 
45 
59 
69 
70 private:
71 
72  Ptr<LteHelper> m_lteHelper;
73  double m_offset;
74  double m_d;
75  double m_xMin;
76  double m_yMin;
77  uint32_t m_gridWidth;
78  uint32_t m_siteHeight;
79 
80 };
81 
82 
83 } // namespace ns3
84 
85 
86 
87 #endif // LTE_HEX_GRID_ENB_TOPOLOGY_HELPER_H
smart pointer class similar to boost::intrusive_ptr
Definition: ptr.h:59
NetDeviceContainer SetPositionAndInstallEnbDevice(NodeContainer c)
holds a vector of ns3::NetDevice pointers
keep track of a set of node pointers.
a base class which provides memory management and object aggregation
Definition: object.h:63
a unique identifier for an interface.
Definition: type-id.h:44