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 anna_testing_TestClock_hpp
10 #define anna_testing_TestClock_hpp
13 #include <anna/core/core.hpp>
14 #include <anna/timex/Clock.hpp>
22 class TestClock : public anna::timex::Clock {
23 TestManager *a_manager;
26 TestClock(const char *clockName, const anna::Millisecond & timeout, TestManager *manager)
27 : a_manager(manager), anna::timex::Clock(clockName, timeout) {;}
29 virtual bool tick() throw(anna::RuntimeException);