1 // ANNA - Anna is Not Nothingness Anymore //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
9 #ifndef example_diameter_launcher_TestClock_hpp
10 #define example_diameter_launcher_TestClock_hpp
13 #include <anna/core/core.hpp>
14 #include <anna/timex/Clock.hpp>
18 class TestClock : public anna::timex::Clock {
19 TestManager *a_manager;
22 TestClock(const char *clockName, const anna::Millisecond & timeout, TestManager *manager)
23 : a_manager(manager), anna::timex::Clock(clockName, timeout) {;}
25 virtual bool tick() throw(anna::RuntimeException);