Ignore:
Timestamp:
07/21/12 12:43:34 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Documented the non-GUI modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/soundsched.py

    r229 r298  
    1 # Module to schedule the sounds to be played
    2 
    3 #------------------------------------------------------------------------------
    41
    52from sound import startSound
     
    85
    96import threading
     7
     8#------------------------------------------------------------------------------
     9
     10## @package mlx.soundsched
     11#
     12# Sound playback scheduling.
     13#
     14# The logger may play certain sound files when certain conditions hold. For
     15# example, if the landing or the strobe lights are switched on during taxi, and
     16# we go to the takeoff state, a voice says "Cabin crew, please take your seats
     17# for takeoff". Some sounds are played only when the pilot presses a hotkey, if
     18# the program is set up that way.
     19#
     20# Each sound is represented by an instance of a subclass of \ref Sound. If a
     21# new \ref mlx.fs.AircraftState "aircraft state" comes in from the simulator,
     22# the \ref Sound.shouldPlay "shouldPlay" functions of the registered sound
     23# objects are called with that state, and if the function returns \c True, the
     24# corresponding sound file is played.
     25#
     26# The \ref ChecklistScheduler class handles the playback of the checklists,
     27# which are basically sequences of sound files played back one-by-one when a
     28# certain hotkey is pressed.
    1029
    1130#------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.