fix a couple of XXX
This commit is contained in:
@@ -115,8 +115,8 @@ SimulatorPrivate::GetTypeId (void)
|
||||
.AddAttribute ("Scheduler",
|
||||
"The Scheduler used to handle all simulation events.",
|
||||
PointerValue (),
|
||||
// XXX: allow getting the scheduler too.
|
||||
MakePointerAccessor (&SimulatorPrivate::SetScheduler),
|
||||
MakePointerAccessor (&SimulatorPrivate::SetScheduler,
|
||||
&SimulatorPrivate::GetScheduler),
|
||||
MakePointerChecker<Scheduler> ())
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -61,7 +61,11 @@ public:
|
||||
*/
|
||||
static void EnableParallelSimulation (void);
|
||||
/**
|
||||
* XXX
|
||||
* \param scheduler a new event scheduler
|
||||
*
|
||||
* The event scheduler can be set at any time: the events scheduled
|
||||
* in the previous scheduler will be transfered to the new scheduler
|
||||
* before we start to use it.
|
||||
*/
|
||||
static void SetScheduler (Ptr<Scheduler> scheduler);
|
||||
|
||||
|
||||
@@ -271,7 +271,6 @@ std::istream& operator>> (std::istream& is, Time & time)
|
||||
else
|
||||
{
|
||||
is.setstate (std::ios_base::failbit);
|
||||
// XXX: problem ?
|
||||
}
|
||||
return is;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user