A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ff-mac-scheduler.h
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 
44 class FfMacScheduler : public Object
45 {
46 public:
53  {
54  SRS_UL_CQI,
55  PUSCH_UL_CQI,
56  ALL_UL_CQI
57  };
62  FfMacScheduler ();
67  virtual ~FfMacScheduler ();
68 
69  // inherited from Object
70  virtual void DoDispose (void);
71  static TypeId GetTypeId (void);
72 
79  virtual void SetFfMacCschedSapUser (FfMacCschedSapUser* s) = 0;
80 
88  virtual void SetFfMacSchedSapUser (FfMacSchedSapUser* s) = 0;
89 
95 
101 
102 
103 protected:
104 
105  UlCqiFilter_t m_ulCqiFilter;
106 
107 };
108 
109 } // namespace ns3
110 
111 #endif /* FF_MAC_SCHEDULER_H */
virtual void SetFfMacCschedSapUser(FfMacCschedSapUser *s)=0
Provides the CSCHED SAP.
Provides the SCHED SAP.
virtual FfMacSchedSapProvider * GetFfMacSchedSapProvider()=0
virtual void SetFfMacSchedSapUser(FfMacSchedSapUser *s)=0
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:44
virtual void DoDispose(void)