Ardour  9.0-pre0-582-g084a23a80d
PBD::BlinkTimer Class Reference

#include <timer.h>

Inheritance diagram for PBD::BlinkTimer:
[legend]

Public Member Functions

 BlinkTimer (unsigned int interval, const Glib::RefPtr< Glib::MainContext > &main_context=Glib::MainContext::get_default())
 
sigc::connection connect (const sigc::slot< void, bool > &slot)
 
virtual unsigned int connection_count () const
 
- Public Member Functions inherited from PBD::Timer
 Timer (unsigned int interval, const Glib::RefPtr< Glib::MainContext > &main_context)
 
unsigned int get_interval () const
 
void set_interval (unsigned int new_interval)
 
void suspend ()
 
void resume ()
 

Protected Member Functions

virtual bool on_elapsed ()
 
- Protected Member Functions inherited from PBD::Timer
virtual ~Timer ()
 
void start ()
 
void stop ()
 
bool suspended () const
 

Protected Attributes

sigc::signal< void, bool > m_blink_signal
 

Detailed Description

Definition at line 104 of file pbd/pbd/timer.h.

Constructor & Destructor Documentation

◆ BlinkTimer()

PBD::BlinkTimer::BlinkTimer ( unsigned int  interval,
const Glib::RefPtr< Glib::MainContext > &  main_context = Glib::MainContext::get_default() 
)

Member Function Documentation

◆ connect()

sigc::connection PBD::BlinkTimer::connect ( const sigc::slot< void, bool > &  slot)

◆ connection_count()

virtual unsigned int PBD::BlinkTimer::connection_count ( ) const
inlinevirtual

Implements PBD::Timer.

Definition at line 114 of file pbd/pbd/timer.h.

◆ on_elapsed()

virtual bool PBD::BlinkTimer::on_elapsed ( )
protectedvirtual

Implements PBD::Timer.

Member Data Documentation

◆ m_blink_signal

sigc::signal<void, bool> PBD::BlinkTimer::m_blink_signal
protected

Definition at line 121 of file pbd/pbd/timer.h.


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