Fawkes API
Fawkes Development Version
|
00001 00002 /*************************************************************************** 00003 * clock.h - Clock aspect for Fawkes 00004 * 00005 * Created: Tue Jun 12 18:36:09 2007 00006 * Copyright 2007 Daniel Beck 00007 * 2007-2010 Tim Niemueller [www.niemueller.de] 00008 * 00009 ****************************************************************************/ 00010 00011 /* This program is free software; you can redistribute it and/or modify 00012 * it under the terms of the GNU General Public License as published by 00013 * the Free Software Foundation; either version 2 of the License, or 00014 * (at your option) any later version. A runtime exception applies to 00015 * this software (see LICENSE.GPL_WRE file mentioned below for details). 00016 * 00017 * This program is distributed in the hope that it will be useful, 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 * GNU Library General Public License for more details. 00021 * 00022 * Read the full text in the LICENSE.GPL_WRE file in the doc directory. 00023 */ 00024 00025 #ifndef __ASPECT_CLOCK_H_ 00026 #define __ASPECT_CLOCK_H_ 00027 00028 #include <aspect/aspect.h> 00029 #include <utils/time/clock.h> 00030 00031 namespace fawkes { 00032 #if 0 /* just to make Emacs auto-indent happy */ 00033 } 00034 #endif 00035 00036 class ClockAspect : public virtual Aspect 00037 { 00038 public: 00039 ClockAspect(); 00040 virtual ~ClockAspect(); 00041 00042 void init_ClockAspect(Clock *clock); 00043 00044 protected: 00045 Clock *clock; 00046 }; 00047 00048 } // end namespace fawkes 00049 00050 #endif /*__ASPECT_CLOCK_H_ */