X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FModule.hh;h=24fdf0c15b727061bcf5a0a46083a4014cfa87ef;hb=3d16600678b948ff3bd0e4fd2a1a800fcc629a03;hp=5ae07e9e571e8ebc4e9d2b6ffd4b74c170acdbfd;hpb=77a726fdfa20680c691ba528fdad979422ef829c;p=senf.git diff --git a/PPI/Module.hh b/PPI/Module.hh index 5ae07e9..24fdf0c 100644 --- a/PPI/Module.hh +++ b/PPI/Module.hh @@ -121,8 +121,10 @@ namespace module { event is signaled \param[in] descriptor The type of event to register */ - ClockService::clock_type eventTime(); ///< Return timestamp of the currently processing - ///< event + ClockService::clock_type time() const; ///< Return timestamp of the currently processing + ///< event + + ClockService::clock_type now() const; void destroy(); @@ -133,8 +135,8 @@ namespace module { private: virtual void init(); - EventManager & eventManager(); - ModuleManager & moduleManager(); + EventManager & eventManager() const; + ModuleManager & moduleManager() const; void registerConnector(connector::Connector & connector); RouteBase & addRoute(std::auto_ptr route);