2 // Written by Melchior FRANZ, started 2003.
4 // This file is in the Public Domain and comes with no warranty.
9 #ifndef __INSTRUMENTS_CLOCK_HXX
10 #define __INSTRUMENTS_CLOCK_HXX 1
13 # error This library requires C++
16 #include <simgear/props/props.hxx>
17 #include <simgear/structure/subsystem_mgr.hxx>
25 * /instrumentation/clock/serviceable
26 * /instrumentation/clock/offset-sec
30 * /instrumentation/clock/indicated-sec
31 * /instrumentation/clock/indicated-string
33 class Clock : public SGSubsystem
42 virtual void update (double dt);
50 char _indicated_string[16];
51 long _standstill_offset;
53 SGPropertyNode_ptr _serviceable_node;
54 SGPropertyNode_ptr _offset_node;
55 SGPropertyNode_ptr _sec_node;
56 SGPropertyNode_ptr _string_node;
60 #endif // __INSTRUMENTS_CLOCK_HXX