A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
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
};
70
FfMacScheduler
();
75
virtual
~FfMacScheduler
();
76
77
// inherited from Object
78
virtual
void
DoDispose
(
void
);
83
static
TypeId
GetTypeId
(
void
);
84
91
virtual
void
SetFfMacCschedSapUser
(
FfMacCschedSapUser
* s) = 0;
92
100
virtual
void
SetFfMacSchedSapUser
(
FfMacSchedSapUser
* s) = 0;
101
106
virtual
FfMacCschedSapProvider
*
GetFfMacCschedSapProvider
() = 0;
107
112
virtual
FfMacSchedSapProvider
*
GetFfMacSchedSapProvider
() = 0;
113
114
//FFR SAPs
122
virtual
void
SetLteFfrSapProvider
(
LteFfrSapProvider
* s) = 0;
123
128
virtual
LteFfrSapUser
*
GetLteFfrSapUser
() = 0;
129
130
protected
:
131
132
UlCqiFilter_t
m_ulCqiFilter
;
133
134
};
135
136
}
// namespace ns3
137
138
#endif
/* FF_MAC_SCHEDULER_H */
ns3::FfMacCschedSapProvider
Provides the CSCHED SAP.
Definition:
ff-mac-csched-sap.h:46
ns3::FfMacCschedSapUser
FfMacCschedSapUser class.
Definition:
ff-mac-csched-sap.h:284
ns3::FfMacSchedSapProvider
Provides the SCHED SAP.
Definition:
ff-mac-sched-sap.h:47
ns3::FfMacSchedSapUser
FfMacSchedSapUser class.
Definition:
ff-mac-sched-sap.h:281
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:54
ns3::FfMacScheduler::~FfMacScheduler
virtual ~FfMacScheduler()
destructor
Definition:
ff-mac-scheduler.cc:41
ns3::FfMacScheduler::SetLteFfrSapProvider
virtual void SetLteFfrSapProvider(LteFfrSapProvider *s)=0
Set the Provider part of the LteFfrSap that this Scheduler will interact with.
ns3::FfMacScheduler::GetLteFfrSapUser
virtual LteFfrSapUser * GetLteFfrSapUser()=0
ns3::FfMacScheduler::SetFfMacCschedSapUser
virtual void SetFfMacCschedSapUser(FfMacCschedSapUser *s)=0
set the user part of the FfMacCschedSap that this Scheduler will interact with.
ns3::FfMacScheduler::GetFfMacCschedSapProvider
virtual FfMacCschedSapProvider * GetFfMacCschedSapProvider()=0
ns3::FfMacScheduler::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition:
ff-mac-scheduler.cc:53
ns3::FfMacScheduler::DoDispose
virtual void DoDispose(void)
Destructor implementation.
Definition:
ff-mac-scheduler.cc:47
ns3::FfMacScheduler::SetFfMacSchedSapUser
virtual void SetFfMacSchedSapUser(FfMacSchedSapUser *s)=0
set the user part of the FfMacSchedSap that this Scheduler will interact with.
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:62
ns3::FfMacScheduler::PUSCH_UL_CQI
@ PUSCH_UL_CQI
Definition:
ff-mac-scheduler.h:64
ns3::FfMacScheduler::SRS_UL_CQI
@ SRS_UL_CQI
Definition:
ff-mac-scheduler.h:63
ns3::FfMacScheduler::FfMacScheduler
FfMacScheduler()
constructor
Definition:
ff-mac-scheduler.cc:34
ns3::FfMacScheduler::GetFfMacSchedSapProvider
virtual FfMacSchedSapProvider * GetFfMacSchedSapProvider()=0
ns3::FfMacScheduler::m_ulCqiFilter
UlCqiFilter_t m_ulCqiFilter
UL CQI filter.
Definition:
ff-mac-scheduler.h:132
ns3::LteFfrSapProvider
Service Access Point (SAP) offered by the Frequency Reuse algorithm instance to the MAC Scheduler ins...
Definition:
lte-ffr-sap.h:40
ns3::LteFfrSapUser
Service Access Point (SAP) offered by the eNodeB RRC instance to the Frequency Reuse algorithm instan...
Definition:
lte-ffr-sap.h:139
ns3::Object
A base class which provides memory management and object aggregation.
Definition:
object.h:88
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:59
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
lte
model
ff-mac-scheduler.h
Generated on Tue Feb 6 2024 19:21:22 for ns-3 by
1.9.1