A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
lte-hex-grid-enb-topology-helper.h
Go to the documentation of this file.
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
36
class
LteHexGridEnbTopologyHelper
:
public
Object
37
{
38
public
:
39
LteHexGridEnbTopologyHelper
(
void
);
40
virtual
~LteHexGridEnbTopologyHelper
(
void
);
41
42
static
TypeId
GetTypeId
(
void
);
43
virtual
void
DoDispose
(
void
);
44
45
58
void
SetLteHelper
(
Ptr<LteHelper>
h);
59
68
NetDeviceContainer
SetPositionAndInstallEnbDevice
(
NodeContainer
c);
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
src
lte
helper
lte-hex-grid-enb-topology-helper.h
Generated on Fri Dec 21 2012 19:00:38 for ns-3 by
1.8.1.2