00001 // $Id: ScheduledEvent.cxx,v 1.1.1.1 2005/10/17 06:11:40 maqm Exp $ 00002 00003 00004 #include "facilities/ScheduledEvent.h" 00005 #include "facilities/Scheduler.h" 00006 00007 #include <typeinfo> 00008 void ScheduledEvent::schedule(double t, ScheduledEvent* next) 00009 { 00010 Scheduler::instance()->schedule(t, next); 00011 } 00012 00013 std::string ScheduledEvent::name()const 00014 { 00015 const std::type_info& t = typeid(*this); 00016 return t.name(); 00017 }