Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::AutomationWatch Class Reference

#include <automation_watch.h>

Inheritance diagram for ARDOUR::AutomationWatch:
[legend]

Public Member Functions

void add_automation_watch (std::shared_ptr< ARDOUR::AutomationControl >)
 
void remove_automation_watch (std::shared_ptr< ARDOUR::AutomationControl >)
 
void transport_stop_automation_watches (ARDOUR::samplepos_t)
 
void set_session (ARDOUR::Session *)
 
gint timer ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual ARDOUR::Sessionsession () const
 

Static Public Member Functions

static AutomationWatchinstance ()
 

Private Types

typedef std::set< std::shared_ptr< ARDOUR::AutomationControl > > AutomationWatches
 
typedef std::map< std::shared_ptr< ARDOUR::AutomationControl >, PBD::ScopedConnectionAutomationConnection
 

Private Member Functions

 AutomationWatch ()
 
 ~AutomationWatch ()
 
void transport_state_change ()
 
void remove_weak_automation_watch (std::weak_ptr< ARDOUR::AutomationControl >)
 
void thread ()
 

Private Attributes

PBD::Thread_thread
 
samplepos_t _last_time
 
bool _run_thread
 
AutomationWatches automation_watches
 
AutomationConnection automation_connections
 
Glib::Threads::Mutex automation_watch_lock
 
PBD::ScopedConnection transport_connection
 

Static Private Attributes

static AutomationWatch_instance
 

Additional Inherited Members

- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

Definition at line 37 of file automation_watch.h.

Member Typedef Documentation

◆ AutomationConnection

Definition at line 51 of file automation_watch.h.

◆ AutomationWatches

typedef std::set<std::shared_ptr<ARDOUR::AutomationControl> > ARDOUR::AutomationWatch::AutomationWatches
private

Definition at line 50 of file automation_watch.h.

Constructor & Destructor Documentation

◆ AutomationWatch()

ARDOUR::AutomationWatch::AutomationWatch ( )
private

◆ ~AutomationWatch()

ARDOUR::AutomationWatch::~AutomationWatch ( )
private

Member Function Documentation

◆ add_automation_watch()

void ARDOUR::AutomationWatch::add_automation_watch ( std::shared_ptr< ARDOUR::AutomationControl )

◆ instance()

static AutomationWatch& ARDOUR::AutomationWatch::instance ( )
static

◆ remove_automation_watch()

void ARDOUR::AutomationWatch::remove_automation_watch ( std::shared_ptr< ARDOUR::AutomationControl )

◆ remove_weak_automation_watch()

void ARDOUR::AutomationWatch::remove_weak_automation_watch ( std::weak_ptr< ARDOUR::AutomationControl )
private

◆ set_session()

void ARDOUR::AutomationWatch::set_session ( ARDOUR::Session )
virtual

Reimplemented from ARDOUR::SessionHandlePtr.

◆ thread()

void ARDOUR::AutomationWatch::thread ( )
private

◆ timer()

gint ARDOUR::AutomationWatch::timer ( )

◆ transport_state_change()

void ARDOUR::AutomationWatch::transport_state_change ( )
private

◆ transport_stop_automation_watches()

void ARDOUR::AutomationWatch::transport_stop_automation_watches ( ARDOUR::samplepos_t  )

Member Data Documentation

◆ _instance

AutomationWatch* ARDOUR::AutomationWatch::_instance
staticprivate

Definition at line 56 of file automation_watch.h.

◆ _last_time

samplepos_t ARDOUR::AutomationWatch::_last_time
private

Definition at line 58 of file automation_watch.h.

◆ _run_thread

bool ARDOUR::AutomationWatch::_run_thread
private

Definition at line 59 of file automation_watch.h.

◆ _thread

PBD::Thread* ARDOUR::AutomationWatch::_thread
private

Definition at line 57 of file automation_watch.h.

◆ automation_connections

AutomationConnection ARDOUR::AutomationWatch::automation_connections
private

Definition at line 61 of file automation_watch.h.

◆ automation_watch_lock

Glib::Threads::Mutex ARDOUR::AutomationWatch::automation_watch_lock
private

Definition at line 62 of file automation_watch.h.

◆ automation_watches

AutomationWatches ARDOUR::AutomationWatch::automation_watches
private

Definition at line 60 of file automation_watch.h.

◆ transport_connection

PBD::ScopedConnection ARDOUR::AutomationWatch::transport_connection
private

Definition at line 63 of file automation_watch.h.


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