|
FlightGear next
|
#include <beacon.hxx>
Inherits FGSoundGenerator.
Classes | |
| struct | BeaconTiming |
Public Member Functions | |
| FGBeacon () | |
| ~FGBeacon () | |
| SGSoundSample * | get_inner () |
| SGSoundSample * | get_middle () |
| SGSoundSample * | get_outer () |
| BeaconTiming | getTimingForInner () const |
| BeaconTiming | getTimingForMiddle () const |
| BeaconTiming | getTimingForOuter () const |
Public Member Functions inherited from FGSoundGenerator | |
| virtual | ~FGSoundGenerator () |
Static Public Member Functions | |
| static FGBeacon * | instance () |
Additional Inherited Members | |
Static Public Attributes inherited from FGSoundGenerator | |
| static const int | BYTES_PER_SECOND = 22050 |
| static const int | BEAT_LENGTH = 92 |
| static const int | TRANSITION_BYTES = BYTES_PER_SECOND/200 |
| static const int | COUNT_SIZE = BYTES_PER_SECOND * BEAT_LENGTH / 1000 |
| static const int | DIT_SIZE = 2 * COUNT_SIZE |
| static const int | DAH_SIZE = 4 * COUNT_SIZE |
| static const int | SPACE_SIZE = 3 * COUNT_SIZE |
| static const int | LO_FREQUENCY = 1020 |
| static const int | HI_FREQUENCY = 1350 |
Related Symbols inherited from FGSoundGenerator | |
| static void | make_tone (unsigned char *buf, int freq, int len, int total_len, int trans_len) |
| Make a tone of specified freq and total_len with trans_len ramp in and out and only the first len bytes with sound, the rest with silence. | |
Definition at line 76 of file beacon.hxx.
| FGBeacon::FGBeacon | ( | ) |
Definition at line 33 of file beacon.cxx.
| FGBeacon::~FGBeacon | ( | ) |
Definition at line 38 of file beacon.cxx.
|
inline |
Definition at line 105 of file beacon.hxx.
|
inline |
Definition at line 106 of file beacon.hxx.
|
inline |
Definition at line 107 of file beacon.hxx.
| FGBeacon::BeaconTiming FGBeacon::getTimingForInner | ( | ) | const |
Definition at line 133 of file beacon.cxx.
| FGBeacon::BeaconTiming FGBeacon::getTimingForMiddle | ( | ) | const |
Definition at line 144 of file beacon.cxx.
| FGBeacon::BeaconTiming FGBeacon::getTimingForOuter | ( | ) | const |
Definition at line 158 of file beacon.cxx.
|
static |
Definition at line 122 of file beacon.cxx.