A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
component-carrier-ue.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015 Danilo Abrignani
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation;
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
*
17
* Author: Danilo Abrignani <danilo.abrignani@unibo.it>
18
*/
19
20
#ifndef COMPONENT_CARRIER_UE_H
21
#define COMPONENT_CARRIER_UE_H
22
23
#include "
component-carrier.h
"
24
#include "
lte-phy.h
"
25
#include "
lte-ue-phy.h
"
26
27
#include <ns3/nstime.h>
28
#include <ns3/object.h>
29
#include <ns3/packet.h>
30
31
namespace
ns3
32
{
33
34
class
LteUeMac;
35
41
class
ComponentCarrierUe
:
public
ComponentCarrier
42
{
43
public
:
48
static
TypeId
GetTypeId
();
49
50
ComponentCarrierUe
();
51
52
~ComponentCarrierUe
()
override
;
53
void
DoDispose
()
override
;
54
58
Ptr<LteUePhy>
GetPhy
()
const
;
59
63
Ptr<LteUeMac>
GetMac
()
const
;
64
69
void
SetPhy
(
Ptr<LteUePhy>
s);
70
75
void
SetMac
(
Ptr<LteUeMac>
s);
76
77
protected
:
78
// inherited from Object
79
void
DoInitialize
()
override
;
80
81
private
:
82
Ptr<LteUePhy>
m_phy
;
83
Ptr<LteUeMac>
m_mac
;
84
};
85
86
}
// namespace ns3
87
88
#endif
/* COMPONENT_CARRIER_UE_H */
ns3::ComponentCarrier
ComponentCarrier Object, it defines a single Carrier This is the parent class for both ComponentCarri...
Definition:
component-carrier.h:39
ns3::ComponentCarrierUe
ComponentCarrierUe Object, it defines a single Carrier for the Ue.
Definition:
component-carrier-ue.h:42
ns3::ComponentCarrierUe::ComponentCarrierUe
ComponentCarrierUe()
Definition:
component-carrier-ue.cc:58
ns3::ComponentCarrierUe::DoInitialize
void DoInitialize() override
Initialize() implementation.
Definition:
component-carrier-ue.cc:80
ns3::ComponentCarrierUe::DoDispose
void DoDispose() override
Destructor implementation.
Definition:
component-carrier-ue.cc:69
ns3::ComponentCarrierUe::m_phy
Ptr< LteUePhy > m_phy
the Phy instance of this eNodeB component carrier
Definition:
component-carrier-ue.h:82
ns3::ComponentCarrierUe::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition:
component-carrier-ue.cc:40
ns3::ComponentCarrierUe::GetMac
Ptr< LteUeMac > GetMac() const
Definition:
component-carrier-ue.cc:109
ns3::ComponentCarrierUe::~ComponentCarrierUe
~ComponentCarrierUe() override
Definition:
component-carrier-ue.cc:63
ns3::ComponentCarrierUe::m_mac
Ptr< LteUeMac > m_mac
the MAC instance of this eNodeB component carrier
Definition:
component-carrier-ue.h:83
ns3::ComponentCarrierUe::SetPhy
void SetPhy(Ptr< LteUePhy > s)
Set LteUePhy.
Definition:
component-carrier-ue.cc:88
ns3::ComponentCarrierUe::SetMac
void SetMac(Ptr< LteUeMac > s)
Set the LteEnbMac.
Definition:
component-carrier-ue.cc:102
ns3::ComponentCarrierUe::GetPhy
Ptr< LteUePhy > GetPhy() const
Definition:
component-carrier-ue.cc:95
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition:
ptr.h:77
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:59
component-carrier.h
lte-phy.h
lte-ue-phy.h
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
lte
model
component-carrier-ue.h
Generated on Sun Mar 3 2024 17:11:01 for ns-3 by
1.9.1