A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
component-carrier-ue.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015 Danilo Abrignani
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Danilo Abrignani <danilo.abrignani@unibo.it>
7
*/
8
9
#ifndef COMPONENT_CARRIER_UE_H
10
#define COMPONENT_CARRIER_UE_H
11
12
#include "
component-carrier.h
"
13
#include "
lte-phy.h
"
14
#include "
lte-ue-phy.h
"
15
16
#include <ns3/nstime.h>
17
#include <ns3/object.h>
18
#include <ns3/packet.h>
19
20
namespace
ns3
21
{
22
23
class
LteUeMac;
24
25
/**
26
* \ingroup lte
27
*
28
* ComponentCarrierUe Object, it defines a single Carrier for the Ue
29
*/
30
class
ComponentCarrierUe
:
public
ComponentCarrier
31
{
32
public
:
33
/**
34
* \brief Get the type ID.
35
* \return the object TypeId
36
*/
37
static
TypeId
GetTypeId
();
38
39
ComponentCarrierUe
();
40
41
~ComponentCarrierUe
()
override
;
42
void
DoDispose
()
override
;
43
44
/**
45
* \return a pointer to the physical layer.
46
*/
47
Ptr<LteUePhy>
GetPhy
()
const
;
48
49
/**
50
* \return a pointer to the MAC layer.
51
*/
52
Ptr<LteUeMac>
GetMac
()
const
;
53
54
/**
55
* Set LteUePhy
56
* \param s a pointer to the LteUePhy
57
*/
58
void
SetPhy
(
Ptr<LteUePhy>
s);
59
60
/**
61
* Set the LteEnbMac
62
* \param s a pointer to the LteEnbMac
63
*/
64
void
SetMac
(
Ptr<LteUeMac>
s);
65
66
protected
:
67
// inherited from Object
68
void
DoInitialize
()
override
;
69
70
private
:
71
Ptr<LteUePhy>
m_phy
;
///< the Phy instance of this eNodeB component carrier
72
Ptr<LteUeMac>
m_mac
;
///< the MAC instance of this eNodeB component carrier
73
};
74
75
}
// namespace ns3
76
77
#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:28
ns3::ComponentCarrierUe
ComponentCarrierUe Object, it defines a single Carrier for the Ue.
Definition
component-carrier-ue.h:31
ns3::ComponentCarrierUe::ComponentCarrierUe
ComponentCarrierUe()
Definition
component-carrier-ue.cc:47
ns3::ComponentCarrierUe::DoInitialize
void DoInitialize() override
Initialize() implementation.
Definition
component-carrier-ue.cc:69
ns3::ComponentCarrierUe::DoDispose
void DoDispose() override
Destructor implementation.
Definition
component-carrier-ue.cc:58
ns3::ComponentCarrierUe::m_phy
Ptr< LteUePhy > m_phy
the Phy instance of this eNodeB component carrier
Definition
component-carrier-ue.h:71
ns3::ComponentCarrierUe::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition
component-carrier-ue.cc:29
ns3::ComponentCarrierUe::GetMac
Ptr< LteUeMac > GetMac() const
Definition
component-carrier-ue.cc:98
ns3::ComponentCarrierUe::~ComponentCarrierUe
~ComponentCarrierUe() override
Definition
component-carrier-ue.cc:52
ns3::ComponentCarrierUe::m_mac
Ptr< LteUeMac > m_mac
the MAC instance of this eNodeB component carrier
Definition
component-carrier-ue.h:72
ns3::ComponentCarrierUe::SetPhy
void SetPhy(Ptr< LteUePhy > s)
Set LteUePhy.
Definition
component-carrier-ue.cc:77
ns3::ComponentCarrierUe::SetMac
void SetMac(Ptr< LteUeMac > s)
Set the LteEnbMac.
Definition
component-carrier-ue.cc:91
ns3::ComponentCarrierUe::GetPhy
Ptr< LteUePhy > GetPhy() const
Definition
component-carrier-ue.cc:84
ns3::Ptr
Smart pointer class similar to boost::intrusive_ptr.
Definition
mpi-test-fixtures.h:37
ns3::TypeId
a unique identifier for an interface.
Definition
type-id.h:48
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 Fri Nov 8 2024 13:59:02 for ns-3 by
1.11.0