A Discrete-Event Network Simulator
API
 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:
60  {
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 
102 
108 
109 
110 protected:
111 
113 
114 };
115 
116 } // namespace ns3
117 
118 #endif /* FF_MAC_SCHEDULER_H */
virtual void SetFfMacCschedSapUser(FfMacCschedSapUser *s)=0
set the user part of the FfMacCschedSap that this Scheduler will interact with.
Provides the CSCHED SAP.
static TypeId GetTypeId(void)
virtual ~FfMacScheduler()
destructor
UlCqiFilter_t
The type of UL CQI to be filtered (ALL means accept all the CQI, where a new CQI of any type overwrit...
Ptr< SampleEmitter > s
Provides the SCHED SAP.
virtual FfMacSchedSapProvider * GetFfMacSchedSapProvider()=0
UlCqiFilter_t m_ulCqiFilter
FfMacScheduler()
constructor
This abstract base class identifies the interface by means of which the helper object can plug on the...
virtual void SetFfMacSchedSapUser(FfMacSchedSapUser *s)=0
set the user part of the FfMacSchedSap that this Scheduler will interact with.
a base class which provides memory management and object aggregation
Definition: object.h:63
virtual FfMacCschedSapProvider * GetFfMacCschedSapProvider()=0
a unique identifier for an interface.
Definition: type-id.h:49
virtual void DoDispose(void)
This method is called by Object::Dispose or by the object's destructor, whichever comes first...