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
12 #include <simgear/props/props.hxx>
13 #include <simgear/structure/subsystem_mgr.hxx>
21 * /instrumentation/clock/serviceable
22 * /instrumentation/clock/offset-sec
26 * /instrumentation/clock/indicated-sec
27 * /instrumentation/clock/indicated-string
29 class Clock : public SGSubsystem {
31 Clock(SGPropertyNode *node);
35 virtual void update(double dt);
48 char _indicated_string[16];
49 char _indicated_short_string[16];
50 char _local_short_string[16];
51 long _standstill_offset;
53 SGPropertyNode_ptr _serviceable_node;
54 SGPropertyNode_ptr _offset_node;
55 SGPropertyNode_ptr _sec_node;
56 SGPropertyNode_ptr _hour_node;
57 SGPropertyNode_ptr _lhour_node;
58 SGPropertyNode_ptr _min_node;
59 SGPropertyNode_ptr _string_node;
60 SGPropertyNode_ptr _string_node1;
61 SGPropertyNode_ptr _string_node2;
64 #endif // __INSTRUMENTS_CLOCK_HXX