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-ue-net-device.h
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari
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: Giuseppe Piro <g.piro@poliba.it>
19
* Nicola Baldo <nbaldo@cttc.es>
20
*/
21
22
#ifndef LTE_UE_NET_DEVICE_H
23
#define LTE_UE_NET_DEVICE_H
24
25
#include "ns3/lte-net-device.h"
26
#include "ns3/event-id.h"
27
#include "ns3/mac48-address.h"
28
#include "ns3/traced-callback.h"
29
#include "ns3/nstime.h"
30
#include "ns3/lte-phy.h"
31
#include "ns3/eps-bearer.h"
32
33
34
namespace
ns3 {
35
36
class
Packet;
37
class
PacketBurst;
38
class
Node;
39
class
LtePhy;
40
class
LteUePhy;
41
class
LteEnbNetDevice;
42
class
LteUeMac;
43
class
LteUeRrc;
44
class
EpcUeNas;
45
class
EpcTft;
46
51
class
LteUeNetDevice
:
public
LteNetDevice
52
{
53
54
public
:
55
static
TypeId
GetTypeId
(
void
);
56
57
LteUeNetDevice
(
void
);
68
LteUeNetDevice
(
Ptr<Node>
node,
Ptr<LteUePhy>
phy,
Ptr<LteUeMac>
mac,
Ptr<LteUeRrc>
rrc,
Ptr<EpcUeNas>
nas, uint64_t imsi);
69
70
virtual
~LteUeNetDevice
(
void
);
71
virtual
void
DoDispose
();
72
73
74
// inherited from NetDevice
75
virtual
bool
Send
(
Ptr<Packet>
packet,
const
Address
& dest, uint16_t protocolNumber);
76
77
78
Ptr<LteUeMac>
GetMac
(
void
)
const
;
79
80
Ptr<LteUeRrc>
GetRrc
()
const
;
81
82
Ptr<LteUePhy>
GetPhy
(
void
)
const
;
83
84
Ptr<EpcUeNas>
GetNas
(
void
)
const
;
85
86
uint64_t
GetImsi
()
const
;
87
88
93
void
SetTargetEnb
(
Ptr<LteEnbNetDevice>
enb);
94
99
Ptr<LteEnbNetDevice>
GetTargetEnb
(
void
);
100
101
102
protected
:
103
// inherited from Object
104
virtual
void
DoInitialize
(
void
);
105
106
107
private
:
108
117
void
UpdateConfig
(
void
);
118
119
Ptr<LteEnbNetDevice>
m_targetEnb
;
120
121
Ptr<LteUeMac>
m_mac
;
122
Ptr<LteUePhy>
m_phy
;
123
Ptr<LteUeRrc>
m_rrc
;
124
Ptr<EpcUeNas>
m_nas
;
125
126
uint64_t
m_imsi
;
127
128
};
129
130
}
// namespace ns3
131
132
#endif
/* LTE_UE_NET_DEVICE_H */
ns3::Ptr< Node >
ns3::LteUeNetDevice::m_rrc
Ptr< LteUeRrc > m_rrc
Definition:
lte-ue-net-device.h:123
ns3::LteUeNetDevice::~LteUeNetDevice
virtual ~LteUeNetDevice(void)
Definition:
lte-ue-net-device.cc:105
ns3::LteUeNetDevice::LteUeNetDevice
LteUeNetDevice(void)
Definition:
lte-ue-net-device.cc:87
ns3::LteUeNetDevice::GetRrc
Ptr< LteUeRrc > GetRrc() const
Definition:
lte-ue-net-device.cc:146
ns3::LteUeNetDevice::GetImsi
uint64_t GetImsi() const
Definition:
lte-ue-net-device.cc:168
ns3::LteUeNetDevice::m_targetEnb
Ptr< LteEnbNetDevice > m_targetEnb
Definition:
lte-ue-net-device.h:119
ns3::LteUeNetDevice::m_imsi
uint64_t m_imsi
Definition:
lte-ue-net-device.h:126
ns3::Address
a polymophic address class
Definition:
address.h:86
ns3::LteUeNetDevice::m_nas
Ptr< EpcUeNas > m_nas
Definition:
lte-ue-net-device.h:124
ns3::LteUeNetDevice::GetTypeId
static TypeId GetTypeId(void)
Definition:
lte-ue-net-device.cc:54
ns3::LteUeNetDevice::DoDispose
virtual void DoDispose()
Definition:
lte-ue-net-device.cc:111
ns3::LteUeNetDevice::SetTargetEnb
void SetTargetEnb(Ptr< LteEnbNetDevice > enb)
Set the targer eNB where the UE is registered.
Definition:
lte-ue-net-device.cc:175
ns3::LteUeNetDevice::DoInitialize
virtual void DoInitialize(void)
Definition:
lte-ue-net-device.cc:190
ns3::LteUeNetDevice::UpdateConfig
void UpdateConfig(void)
Definition:
lte-ue-net-device.cc:127
ns3::LteUeNetDevice::m_phy
Ptr< LteUePhy > m_phy
Definition:
lte-ue-net-device.h:122
ns3::LteUeNetDevice::GetTargetEnb
Ptr< LteEnbNetDevice > GetTargetEnb(void)
Get the targer eNB where the UE is registered.
Definition:
lte-ue-net-device.cc:183
ns3::LteUeNetDevice::GetNas
Ptr< EpcUeNas > GetNas(void) const
Definition:
lte-ue-net-device.cc:161
ns3::LteUeNetDevice::m_mac
Ptr< LteUeMac > m_mac
Definition:
lte-ue-net-device.h:121
ns3::LteUeNetDevice::GetPhy
Ptr< LteUePhy > GetPhy(void) const
Definition:
lte-ue-net-device.cc:154
ns3::LteNetDevice
Definition:
lte-net-device.h:48
ns3::LteUeNetDevice::Send
virtual bool Send(Ptr< Packet > packet, const Address &dest, uint16_t protocolNumber)
Definition:
lte-ue-net-device.cc:200
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:49
ns3::LteUeNetDevice::GetMac
Ptr< LteUeMac > GetMac(void) const
Definition:
lte-ue-net-device.cc:138
ns3::LteUeNetDevice
Definition:
lte-ue-net-device.h:51
src
lte
model
lte-ue-net-device.h
Generated on Sun Apr 20 2014 11:14:55 for ns-3 by
1.8.6