A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
src
lte
model
ff-mac-scheduler.h
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2011 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
* Marco Miozzo <marco.miozzo@cttc.es>
20
*/
21
22
#ifndef FF_MAC_SCHEDULER_H
23
#define FF_MAC_SCHEDULER_H
24
25
#include <ns3/object.h>
26
27
28
namespace
ns3
{
29
30
31
32
class
FfMacCschedSapUser;
33
class
FfMacSchedSapUser;
34
class
FfMacCschedSapProvider;
35
class
FfMacSchedSapProvider;
36
class
LteFfrSapProvider;
37
class
LteFfrSapUser;
38
53
class
FfMacScheduler
:
public
Object
54
{
55
public
:
61
enum
UlCqiFilter_t
62
{
63
SRS_UL_CQI
,
64
PUSCH_UL_CQI
,
65
ALL_UL_CQI
66
};
71
FfMacScheduler
();
76
virtual
~FfMacScheduler
();
77
78
// inherited from Object
79
virtual
void
DoDispose
(
void
);
84
static
TypeId
GetTypeId
(
void
);
85
92
virtual
void
SetFfMacCschedSapUser
(
FfMacCschedSapUser
* s) = 0;
93
101
virtual
void
SetFfMacSchedSapUser
(
FfMacSchedSapUser
* s) = 0;
102
107
virtual
FfMacCschedSapProvider
*
GetFfMacCschedSapProvider
() = 0;
108
113
virtual
FfMacSchedSapProvider
*
GetFfMacSchedSapProvider
() = 0;
114
115
//FFR SAPs
123
virtual
void
SetLteFfrSapProvider
(
LteFfrSapProvider
* s) = 0;
124
129
virtual
LteFfrSapUser
*
GetLteFfrSapUser
() = 0;
130
131
protected
:
132
133
UlCqiFilter_t
m_ulCqiFilter
;
134
135
};
136
137
}
// namespace ns3
138
139
#endif
/* FF_MAC_SCHEDULER_H */
ns3::LteFfrSapUser
Service Access Point (SAP) offered by the eNodeB RRC instance to the Frequency Reuse algorithm instan...
Definition:
lte-ffr-sap.h:138
ns3::FfMacScheduler::PUSCH_UL_CQI
Definition:
ff-mac-scheduler.h:64
ns3::FfMacScheduler::SetFfMacCschedSapUser
virtual void SetFfMacCschedSapUser(FfMacCschedSapUser *s)=0
set the user part of the FfMacCschedSap that this Scheduler will interact with.
ns3::FfMacCschedSapProvider
Provides the CSCHED SAP.
Definition:
ff-mac-csched-sap.h:45
ns3::FfMacScheduler::SetLteFfrSapProvider
virtual void SetLteFfrSapProvider(LteFfrSapProvider *s)=0
Set the Provider part of the LteFfrSap that this Scheduler will interact with.
ns3::FfMacScheduler::SRS_UL_CQI
Definition:
ff-mac-scheduler.h:63
ns3::FfMacScheduler::GetLteFfrSapUser
virtual LteFfrSapUser * GetLteFfrSapUser()=0
ns3::FfMacScheduler::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition:
ff-mac-scheduler.cc:53
ns3::FfMacScheduler::ALL_UL_CQI
Definition:
ff-mac-scheduler.h:65
ns3::FfMacScheduler::~FfMacScheduler
virtual ~FfMacScheduler()
destructor
Definition:
ff-mac-scheduler.cc:41
ns3::LteFfrSapProvider
Service Access Point (SAP) offered by the Frequency Reuse algorithm instance to the MAC Scheduler ins...
Definition:
lte-ffr-sap.h:39
ns3::FfMacScheduler::UlCqiFilter_t
UlCqiFilter_t
The type of UL CQI to be filtered (ALL means accept all the CQI, where a new CQI of any type overwrit...
Definition:
ff-mac-scheduler.h:61
ns3::FfMacSchedSapProvider
Provides the SCHED SAP.
Definition:
ff-mac-sched-sap.h:46
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::FfMacScheduler::GetFfMacSchedSapProvider
virtual FfMacSchedSapProvider * GetFfMacSchedSapProvider()=0
ns3::FfMacScheduler::m_ulCqiFilter
UlCqiFilter_t m_ulCqiFilter
UL CQI filter.
Definition:
ff-mac-scheduler.h:133
ns3::FfMacScheduler::FfMacScheduler
FfMacScheduler()
constructor
Definition:
ff-mac-scheduler.cc:34
ns3::FfMacScheduler
This abstract base class identifies the interface by means of which the helper object can plug on the...
Definition:
ff-mac-scheduler.h:53
ns3::FfMacCschedSapUser
FfMacCschedSapUser class.
Definition:
ff-mac-csched-sap.h:283
ns3::FfMacScheduler::SetFfMacSchedSapUser
virtual void SetFfMacSchedSapUser(FfMacSchedSapUser *s)=0
set the user part of the FfMacSchedSap that this Scheduler will interact with.
ns3::Object
A base class which provides memory management and object aggregation.
Definition:
object.h:87
ns3::FfMacScheduler::GetFfMacCschedSapProvider
virtual FfMacCschedSapProvider * GetFfMacCschedSapProvider()=0
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:58
ns3::FfMacSchedSapUser
FfMacSchedSapUser class.
Definition:
ff-mac-sched-sap.h:280
ns3::FfMacScheduler::DoDispose
virtual void DoDispose(void)
Destructor implementation.
Definition:
ff-mac-scheduler.cc:47
Generated on Wed Nov 7 2018 10:02:00 for ns-3 by
1.8.14