This class handles the buzzer.  
 More...
#include <buzzer.h>
This class handles the buzzer. 
http://abyz.me.uk/rpi/pigpio/pdif2.html 
Definition at line 26 of file buzzer.h.
◆ Buzzer() [1/3]
  
  | 
        
          | FotoBox::Buzzer::Buzzer | ( | QObject * | parent = nullptr | ) |  |  | explicit | 
 
Buzzer constructor. 
- Parameters
- 
  
  
Definition at line 84 of file buzzer.cpp.
   84 : QObject(
nullptr) { }
 
 
 
◆ ~Buzzer()
  
  | 
        
          | FotoBox::Buzzer::~Buzzer | ( |  | ) |  |  | override | 
 
 
◆ Buzzer() [2/3]
  
  | 
        
          | FotoBox::Buzzer::Buzzer | ( | const Buzzer & |  | ) |  |  | delete | 
 
 
◆ Buzzer() [3/3]
  
  | 
        
          | FotoBox::Buzzer::Buzzer | ( | Buzzer && | other | ) |  |  | delete | 
 
Buzzer default move constructor. 
 
 
◆ checkDeamon()
  
  | 
        
          | auto FotoBox::Buzzer::checkDeamon | ( |  | ) | -> bool |  | static | 
 
 
◆ initialise()
      
        
          | auto FotoBox::Buzzer::initialise | ( |  | ) | -> bool | 
      
 
Initialises the library and sets the GPIO mode. 
- Returns
- true: initialisation okay / false: initialisation failed 
Definition at line 77 of file buzzer.cpp.
 
 
◆ operator=() [1/2]
Buzzer default move assignment. 
 
 
◆ operator=() [2/2]
Buzzer delete copy assignment. 
 
 
◆ queryPin
  
  | 
        
          | void FotoBox::Buzzer::queryPin | ( |  | ) |  |  | slot | 
 
 
◆ stop()
      
        
          | void FotoBox::Buzzer::stop | ( |  | ) |  | 
      
 
 
◆ triggered
  
  | 
        
          | void FotoBox::Buzzer::triggered | ( |  | ) |  |  | signal | 
 
 
◆ m_pi
  
  | 
        
          | int FotoBox::Buzzer::m_pi {-1} |  | private | 
 
This value is passed to the GPIO routines to specify the Pi to be operated on. 
Definition at line 93 of file buzzer.h.
 
 
◆ m_stop
  
  | 
        
          | std::atomic<bool> FotoBox::Buzzer::m_stop {false} |  | private | 
 
 
The documentation for this class was generated from the following files: