Fawkes API
Fawkes Development Version
clock.h
1
2
/***************************************************************************
3
* clock.h - Clock aspect for Fawkes
4
*
5
* Created: Tue Jun 12 18:36:09 2007
6
* Copyright 2007 Daniel Beck
7
* 2007-2010 Tim Niemueller [www.niemueller.de]
8
*
9
****************************************************************************/
10
11
/* This program is free software; you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation; either version 2 of the License, or
14
* (at your option) any later version. A runtime exception applies to
15
* this software (see LICENSE.GPL_WRE file mentioned below for details).
16
*
17
* This program is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
* GNU Library General Public License for more details.
21
*
22
* Read the full text in the LICENSE.GPL_WRE file in the doc directory.
23
*/
24
25
#ifndef _ASPECT_CLOCK_H_
26
#define _ASPECT_CLOCK_H_
27
28
#include <aspect/aspect.h>
29
#include <utils/time/clock.h>
30
31
namespace
fawkes
{
32
33
class
ClockAspect :
public
virtual
Aspect
34
{
35
public
:
36
ClockAspect
();
37
virtual
~ClockAspect
();
38
39
void
init_ClockAspect
(Clock *
clock
);
40
41
protected
:
42
Clock
*
clock
;
43
};
44
45
}
// end namespace fawkes
46
47
#endif
/*ASPECT_CLOCK_H__ */
fawkes::ClockAspect::~ClockAspect
virtual ~ClockAspect()
Virtual empty destructor.
Definition:
clock.cpp:56
fawkes::ClockAspect::clock
Clock * clock
Definition:
clock.h:56
fawkes::ClockAspect::ClockAspect
ClockAspect()
Constructor.
Definition:
clock.cpp:50
fawkes
fawkes::ClockAspect::init_ClockAspect
void init_ClockAspect(Clock *clock)
Set the clock.
Definition:
clock.cpp:66
fawkes::Clock
Definition:
clock.h:41
src
libs
aspect
clock.h
Generated by
1.8.17