APM:Libraries
|
#include <ToneAlarm_Linux.h>
Classes | |
struct | tonealarm_type |
tonealarm_type - bitmask of states we track More... | |
Public Member Functions | |
bool | init (void) |
init - initialised the tone alarm More... | |
void | update () |
update - updates led according to timed_updated. Should be called at 50Hz More... | |
Public Member Functions inherited from NotifyDevice | |
virtual | ~NotifyDevice () |
virtual void | handle_led_control (mavlink_message_t *msg) |
virtual void | handle_play_tune (mavlink_message_t *msg) |
Private Member Functions | |
bool | play_tune (uint8_t tune_number) |
play_tune - play one of the pre-defined tunes More... | |
Private Attributes | |
bool | _initialized = false |
struct ToneAlarm_Linux::tonealarm_type | flags |
Additional Inherited Members | |
Public Attributes inherited from NotifyDevice | |
const AP_Notify * | pNotify |
Definition at line 22 of file ToneAlarm_Linux.h.
|
virtual |
init - initialised the tone alarm
Implements NotifyDevice.
Definition at line 37 of file ToneAlarm_Linux.cpp.
|
private |
play_tune - play one of the pre-defined tunes
Definition at line 54 of file ToneAlarm_Linux.cpp.
Referenced by update().
|
virtual |
update - updates led according to timed_updated. Should be called at 50Hz
Implements NotifyDevice.
Definition at line 62 of file ToneAlarm_Linux.cpp.
|
private |
Definition at line 35 of file ToneAlarm_Linux.h.
|
private |