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
38 Clock ( SGPropertyNode *node );
43 virtual void update (double dt);
53 char _indicated_string[16];
54 char _indicated_short_string[16];
55 long _standstill_offset;
60 SGPropertyNode_ptr _serviceable_node;
61 SGPropertyNode_ptr _offset_node;
62 SGPropertyNode_ptr _sec_node;
63 SGPropertyNode_ptr _hour_node;
64 SGPropertyNode_ptr _min_node;
65 SGPropertyNode_ptr _string_node;
66 SGPropertyNode_ptr _string_node1;
70 #endif // __INSTRUMENTS_CLOCK_HXX