APM:Libraries
Public Member Functions | Private Attributes | List of all members
Linux::ToneAlarm_Disco Class Reference

#include <ToneAlarm_Disco.h>

Inheritance diagram for Linux::ToneAlarm_Disco:
[legend]
Collaboration diagram for Linux::ToneAlarm_Disco:
[legend]

Public Member Functions

 ToneAlarm_Disco ()
 
bool init () override
 
void stop () override
 
bool play () override
 
- Public Member Functions inherited from Linux::ToneAlarm
 ToneAlarm ()
 
void set_tune (uint8_t tone)
 
bool is_tune_comp ()
 
bool set_note ()
 
bool init_tune ()
 

Private Attributes

RCOutput_Bebopbebop_out
 

Additional Inherited Members

- Protected Attributes inherited from Linux::ToneAlarm
bool tune_comp
 
bool tune_changed
 
uint8_t default_oct
 
uint8_t default_dur
 
uint16_t bpm
 
uint16_t wholenote
 
uint16_t cur_note
 
uint16_t duration
 
int32_t prev_tune_num
 
uint32_t prev_time
 
int8_t tune_num
 
uint8_t tune_pos
 
- Static Protected Attributes inherited from Linux::ToneAlarm
static const char * tune [TONE_NUMBER_OF_TUNES]
 
static bool tune_repeat [TONE_NUMBER_OF_TUNES] = {false,true,false,false,false,false,true,true,false,false,false}
 

Detailed Description

Definition at line 12 of file ToneAlarm_Disco.h.

Constructor & Destructor Documentation

◆ ToneAlarm_Disco()

ToneAlarm_Disco::ToneAlarm_Disco ( )

Definition at line 28 of file ToneAlarm_Disco.cpp.

Member Function Documentation

◆ init()

bool ToneAlarm_Disco::init ( void  )
overridevirtual

Reimplemented from Linux::ToneAlarm.

Definition at line 35 of file ToneAlarm_Disco.cpp.

Referenced by Linux::Util::toneAlarm_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ play()

bool ToneAlarm_Disco::play ( )
overridevirtual

Reimplemented from Linux::ToneAlarm.

Definition at line 50 of file ToneAlarm_Disco.cpp.

Referenced by Linux::Util::_toneAlarm_timer_tick().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stop()

void ToneAlarm_Disco::stop ( )
overridevirtual

Reimplemented from Linux::ToneAlarm.

Definition at line 45 of file ToneAlarm_Disco.cpp.

Referenced by play().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ bebop_out

RCOutput_Bebop* Linux::ToneAlarm_Disco::bebop_out
private

Definition at line 20 of file ToneAlarm_Disco.h.

Referenced by init(), play(), and stop().


The documentation for this class was generated from the following files: