--- a/src/simulator/realtime-simulator-impl.cc Fri Oct 10 15:26:32 2008 -0700
+++ b/src/simulator/realtime-simulator-impl.cc Fri Oct 10 16:22:13 2008 -0700
@@ -618,6 +618,41 @@
return id;
}
+Time
+RealtimeSimulatorImpl::Now (void) const
+{
+ return TimeStep (m_currentTs);
+}
+
+//
+// Schedule an event for a _relative_ time in the future.
+//
+EventId
+RealtimeSimulatorImpl::ScheduleReal (Time const &time, const Ptr<EventImpl> &event)
+{
+ NS_LOG_FUNCTION (time << event);
+ NS_ASSERT (false);
+ EventId id;
+ return id;
+}
+
+EventId
+RealtimeSimulatorImpl::ScheduleRealNow (const Ptr<EventImpl> &event)
+{
+ NS_LOG_FUNCTION (event);
+ NS_ASSERT (false);
+ EventId id;
+ return id;
+}
+
+Time
+RealtimeSimulatorImpl::RealNow (void) const
+{
+ NS_ASSERT (false);
+ return TimeStep (m_currentTs);
+}
+
+
EventId
RealtimeSimulatorImpl::ScheduleDestroy (const Ptr<EventImpl> &event)
{
@@ -640,12 +675,6 @@
return id;
}
-Time
-RealtimeSimulatorImpl::Now (void) const
-{
- return TimeStep (m_currentTs);
-}
-
Time
RealtimeSimulatorImpl::GetDelayLeft (const EventId &id) const
{