~ubuntu-branches/ubuntu/precise/flightgear/precise

« back to all changes in this revision

Viewing changes to src/Network/ATC-Outputs.hxx

  • Committer: Bazaar Package Importer
  • Author(s): Ove Kaaven
  • Date: 2011-01-30 15:46:35 UTC
  • mfrom: (3.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110130154635-rlynmg9n5hzxq5xe
Tags: 2.0.0-3
* Recommend fgfs-aircraft-base and fgfs-models-base.
  Closes. #610276.
* Added note about scenery SharedModels.tgz to README.Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
#include <Main/fg_props.hxx>
32
32
 
33
33
#define ATC_RADIO_DISPLAY_BYTES 48
 
34
#define ATC_ANALOG_OUT_CHANNELS 48
34
35
#define ATC_COMPASS_CH 5
35
36
#define ATC_STEPPER_HOME 0xC0
36
37
 
43
44
    SGPath config;
44
45
 
45
46
    int lock_fd;
 
47
    int analog_out_fd;
46
48
    int lamps_fd;
47
49
    int radio_display_fd;
48
50
    int stepper_fd;
49
51
 
 
52
    char analog_out_file[256];
50
53
    char lamps_file[256];
51
54
    char radio_display_file[256];
52
55
    char stepper_file[256];
53
56
 
 
57
    unsigned char analog_out_data[ATC_ANALOG_OUT_CHANNELS*2];
54
58
    unsigned char radio_display_data[ATC_RADIO_DISPLAY_BYTES];
55
59
 
 
60
    SGPropertyNode_ptr analog_out_node;
56
61
    SGPropertyNode_ptr lamps_out_node;
57
62
    SGPropertyNode_ptr radio_display_node;
58
63
    SGPropertyNode_ptr steppers_node;
59
64
 
60
65
    void init_config();
 
66
    bool do_analog_out();
61
67
    bool do_lamps();
62
68
    bool do_radio_display();
63
69
    bool do_steppers();