home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / atccnr.zip / atccnr.HLP (.txt) < prev    next >
OS/2 Help File  |  1993-10-12  |  6KB  |  125 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. General Help ΓòÉΓòÉΓòÉ
  3.  
  4. Welcome to Air Traffic Control Container, a very simple ATC radar simulator 
  5. whose main purpose is to provide an interesting example of OS/2 PM Container 
  6. programming. Its design was stimulated by the author's visit in October, 1993, 
  7. to Bay TRACON, the main air traffic control location for the San Francisco Bay 
  8. Area. 
  9.  
  10. ATC Container was originally written for a presentation by the author to the 
  11. OS/2 Bay Area User Group's Developers SIG, on container programming. 
  12.  
  13. ATC Container illustrates several areas of container programming: 
  14.  
  15. o Multiple views 
  16.  
  17. o Inserting multiple container records 
  18.  
  19. o Explicitly positioning records 
  20.  
  21. o Enumerating container contents 
  22.  
  23. o Using a PM Timer to move the container objects at regular intervals 
  24.  
  25. o Multiple context menus 
  26.  
  27. o Container background owner-drawing 
  28.  
  29. o Bitmaps for screen drawing performance 
  30.  
  31. o Randomly generating aircraft (always good to know) 
  32.  
  33. Dave Briccetti & Associates 
  34. P.O. Box 1713 
  35. Lafayette, CA  94549-7013 
  36. USA 
  37. 510 945-7565 
  38. CompuServe: 74475,1072, Internet: daveb@netcom.com 
  39.  
  40. Copyright (c) 1993, David C. Briccetti 
  41. All Rights Reserved. 
  42.  
  43.  
  44. ΓòÉΓòÉΓòÉ 2. Views ΓòÉΓòÉΓòÉ
  45.  
  46. ATC Container starts up in the Radar View, which bears a slight resemblance to 
  47. the ARTS III radar scopes in use in some facilities.  The jet icons represent 
  48. targets being tracked, and the numbers below each icon represent the aircraft's 
  49. altitude and speed. The altitude shown has the two rightmost zeroes removed for 
  50. brevity. The speed has one zero removed. 
  51.  
  52. The other views do not provide positional information.  The Name view just 
  53. shows the icons and title text.  The Text view just shows the title text. 
  54.  
  55. The Details view shows much more information about each aircraft, including the 
  56. current and assigned heading, altitude, and speed. 
  57.  
  58. To change views, click in the container with the context menu mouse button when 
  59. the mouse pointer is not over an aircraft. 
  60.  
  61.  
  62. ΓòÉΓòÉΓòÉ 3. Controlling Aircraft ΓòÉΓòÉΓòÉ
  63.  
  64. ATC Container allows you to control aircraft.  Click on an aircraft to bring up 
  65. a context menu.  Select the Control Aircraft menu item. 
  66.  
  67. A dialog box appears with spin buttons which allow you to assign a new heading, 
  68. altitude, and speed.  The aircraft will gradually maneuver to comply with your 
  69. instructions. 
  70.  
  71.  
  72. ΓòÉΓòÉΓòÉ 4. Limitations ΓòÉΓòÉΓòÉ
  73.  
  74. ATC Container has many limitations. 
  75.  
  76. Aircraft Maneuvering Rates 
  77.           The rates at which the aircraft change heading, altitude, and speed 
  78.           are not realistic.  For example, a standard rate turn is 3 degrees 
  79.           per second, and these aircraft turn at 1 degree per second.  Also, 
  80.           the program doesn't know enough about the compass to know that in 
  81.           order to change from heading 010 to 350 a 20 degree left turn would 
  82.           be appropriate.  Instead, it will turn right. 
  83.  
  84. Scroll Bars 
  85.           As aircraft move off the scope, scroll bars appear.  The program does 
  86.           not have proper support for scrolling. 
  87.  
  88. Crashing 
  89.           The program crashes occasionally 
  90.  
  91. Lack of cleanup 
  92.           The program does not free the memory it allocates, but sloppily 
  93.           relies on the C runtime library and/or OS/2 to clean up at program 
  94.           termination. 
  95.  
  96. Limited Usefulness 
  97.           ATC Container is an interesting container example, but it is far from 
  98.           a real ATC simulator. 
  99.  
  100.  
  101. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  102.  
  103. Dave Briccetti & Associates has been developing sophisticated OS/2 applications 
  104. for users and clients since 1987. 
  105.  
  106. As you might have guessed, Dave Briccetti is a private pilot. 
  107.  
  108.  
  109. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  110.  
  111. The Developers SIG is a very technical subset of the OS/2 Bay Area User Group 
  112. membership.  The group meets once a month in Silicon Valley, and covers such 
  113. topics as: 
  114.  
  115. o PM Programming 
  116.  
  117. o Workplace Shell programming 
  118.  
  119. o SOM programming 
  120.  
  121. o C++ and other object-oriented languages and facilities 
  122.  
  123. o Productive application development 
  124.  
  125. For more information about the Developers SIG, contact Dave Briccetti.