ns3::UintegerValue CqiTimerThreshold = 2000;
sched->SetAttribute("ns3::RrFfMacScheduler::CqiTimerThreshold", CqiTimerThreshold);
and while executing the error message is displayed:msg="Attribute name=ns3::RrFfMacScheduler::CqiTimerThreshold does not exist for this object: tid=ns3::Object", file=../object-base.cc, line=230
terminate called without an active exception
Every type derived from Object has default values for its Attributes. These are set statically in the GetTypeId() function. You can change the default values using SetDefault() or from the command line.
Note that the defaults are used only to create new instances of a class, so you have to set the default *before* you create the instance.
Peter