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
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
51
class
FfMacScheduler
:
public
Object
52
{
53
public
:
59
enum
UlCqiFilter_t
60
{
61
SRS_UL_CQI
,
62
PUSCH_UL_CQI
,
63
ALL_UL_CQI
64
};
69
FfMacScheduler
();
74
virtual
~FfMacScheduler
();
75
76
// inherited from Object
77
virtual
void
DoDispose
(
void
);
78
static
TypeId
GetTypeId
(
void
);
79
86
virtual
void
SetFfMacCschedSapUser
(
FfMacCschedSapUser
*
s
) = 0;
87
95
virtual
void
SetFfMacSchedSapUser
(
FfMacSchedSapUser
*
s
) = 0;
96
101
virtual
FfMacCschedSapProvider
*
GetFfMacCschedSapProvider
() = 0;
102
107
virtual
FfMacSchedSapProvider
*
GetFfMacSchedSapProvider
() = 0;
108
109
110
protected
:
111
112
UlCqiFilter_t
m_ulCqiFilter
;
113
114
};
115
116
}
// namespace ns3
117
118
#endif
/* FF_MAC_SCHEDULER_H */
ns3::FfMacScheduler::PUSCH_UL_CQI
Definition:
ff-mac-scheduler.h:62
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::SRS_UL_CQI
Definition:
ff-mac-scheduler.h:61
ns3::FfMacScheduler::GetTypeId
static TypeId GetTypeId(void)
Definition:
ff-mac-scheduler.cc:54
ns3::FfMacScheduler::ALL_UL_CQI
Definition:
ff-mac-scheduler.h:63
ns3::FfMacScheduler::~FfMacScheduler
virtual ~FfMacScheduler()
destructor
Definition:
ff-mac-scheduler.cc:42
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:59
s
Ptr< SampleEmitter > s
Definition:
double-probe-test-suite.cc:51
ns3::FfMacSchedSapProvider
Provides the SCHED SAP.
Definition:
ff-mac-sched-sap.h:46
ns3::FfMacScheduler::GetFfMacSchedSapProvider
virtual FfMacSchedSapProvider * GetFfMacSchedSapProvider()=0
ns3::FfMacScheduler::m_ulCqiFilter
UlCqiFilter_t m_ulCqiFilter
Definition:
ff-mac-scheduler.h:112
ns3::FfMacScheduler::FfMacScheduler
FfMacScheduler()
constructor
Definition:
ff-mac-scheduler.cc:35
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:51
ns3::FfMacCschedSapUser
Definition:
ff-mac-csched-sap.h:249
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:63
ns3::FfMacScheduler::GetFfMacCschedSapProvider
virtual FfMacCschedSapProvider * GetFfMacCschedSapProvider()=0
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:49
ns3::FfMacSchedSapUser
Definition:
ff-mac-sched-sap.h:224
ns3::FfMacScheduler::DoDispose
virtual void DoDispose(void)
This method is called by Object::Dispose or by the object's destructor, whichever comes first...
Definition:
ff-mac-scheduler.cc:48
src
lte
model
ff-mac-scheduler.h
Generated on Sat Apr 19 2014 14:06:59 for ns-3 by
1.8.6