A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ff-mac-scheduler.cc
Go to the documentation of this file.
1/*
2 * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 * Author: Nicola Baldo <nbaldo@cttc.es>
7 */
8
9#include "ff-mac-scheduler.h"
10
11#include <ns3/enum.h>
12#include <ns3/log.h>
13
14namespace ns3
15{
16
17NS_LOG_COMPONENT_DEFINE("FfMacScheduler");
18
19NS_OBJECT_ENSURE_REGISTERED(FfMacScheduler);
20
22 : m_ulCqiFilter(SRS_UL_CQI)
23{
24 NS_LOG_FUNCTION(this);
25}
26
31
32void
37
40{
41 static TypeId tid =
42 TypeId("ns3::FfMacScheduler")
44 .SetGroupName("Lte")
45 .AddAttribute("UlCqiFilter",
46 "The filter to apply on UL CQIs received",
50 "SRS_UL_CQI",
52 "PUSCH_UL_CQI"));
53 return tid;
54}
55
56} // namespace ns3
Hold variables of type enum.
Definition enum.h:52
void DoDispose() override
Destructor implementation.
~FfMacScheduler() override
destructor
FfMacScheduler()
constructor
static TypeId GetTypeId()
Get the type ID.
UlCqiFilter_t m_ulCqiFilter
UL CQI filter.
A base class which provides memory management and object aggregation.
Definition object.h:78
a unique identifier for an interface.
Definition type-id.h:48
TypeId SetParent(TypeId tid)
Set the parent TypeId.
Definition type-id.cc:1001
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
Definition log.h:191
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by ",...
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Definition object-base.h:35
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Ptr< const AttributeChecker > MakeEnumChecker(T v, std::string n, Ts... args)
Make an EnumChecker pre-configured with a set of allowed values by name.
Definition enum.h:179
Ptr< const AttributeAccessor > MakeEnumAccessor(T1 a1)
Definition enum.h:221