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

#include <timer.h>

Inheritance diagram for PBD::StandardTimer:
[legend]

Public Member Functions

 StandardTimer (unsigned int interval, const Glib::RefPtr< Glib::MainContext > &main_context=Glib::MainContext::get_default())
 
sigc::connection connect (const sigc::slot< void > &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 > m_signal
 

Detailed Description

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

Constructor & Destructor Documentation

◆ StandardTimer()

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

Member Function Documentation

◆ connect()

sigc::connection PBD::StandardTimer::connect ( const sigc::slot< void > &  slot)

◆ connection_count()

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

Implements PBD::Timer.

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

◆ on_elapsed()

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

Implements PBD::Timer.

Member Data Documentation

◆ m_signal

sigc::signal<void> PBD::StandardTimer::m_signal
protected

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


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