ardour
Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
ARDOUR::AutomationWatch Class Reference

#include <automation_watch.h>

Inheritance diagram for ARDOUR::AutomationWatch:
ARDOUR::SessionHandlePtr PBD::ScopedConnectionList

Public Member Functions

void add_automation_watch (boost::shared_ptr< ARDOUR::AutomationControl >)
 
void remove_automation_watch (boost::shared_ptr< ARDOUR::AutomationControl >)
 
void set_session (ARDOUR::Session *)
 
gint timer ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 

Static Public Member Functions

static AutomationWatchinstance ()
 

Private Types

typedef std::set
< boost::shared_ptr
< ARDOUR::AutomationControl > > 
AutomationWatches
 

Private Member Functions

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

Private Attributes

Glib::Threads::Thread * _thread
 
framepos_t _last_time
 
bool _run_thread
 
AutomationWatches automation_watches
 
Glib::Threads::Mutex automation_watch_lock
 
PBD::ScopedConnection transport_connection
 

Static Private Attributes

static AutomationWatch_instance = 0
 

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 33 of file automation_watch.h.

Member Typedef Documentation

Definition at line 44 of file automation_watch.h.

Constructor & Destructor Documentation

AutomationWatch::AutomationWatch ( )
private

Definition at line 45 of file automation_watch.cc.

AutomationWatch::~AutomationWatch ( )
private

Definition at line 53 of file automation_watch.cc.

Member Function Documentation

void AutomationWatch::add_automation_watch ( boost::shared_ptr< ARDOUR::AutomationControl ac)

Definition at line 66 of file automation_watch.cc.

AutomationWatch & AutomationWatch::instance ( )
static

Definition at line 37 of file automation_watch.cc.

void AutomationWatch::remove_automation_watch ( boost::shared_ptr< ARDOUR::AutomationControl ac)

Definition at line 106 of file automation_watch.cc.

void AutomationWatch::remove_weak_automation_watch ( boost::weak_ptr< ARDOUR::AutomationControl wac)
private

Definition at line 94 of file automation_watch.cc.

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

Reimplemented from ARDOUR::SessionHandlePtr.

Definition at line 159 of file automation_watch.cc.

void AutomationWatch::thread ( )
private

Definition at line 150 of file automation_watch.cc.

gint AutomationWatch::timer ( )

Definition at line 115 of file automation_watch.cc.

void AutomationWatch::transport_state_change ( )
private

Definition at line 180 of file automation_watch.cc.

Member Data Documentation

AutomationWatch * AutomationWatch::_instance = 0
staticprivate

Definition at line 49 of file automation_watch.h.

framepos_t ARDOUR::AutomationWatch::_last_time
private

Definition at line 51 of file automation_watch.h.

bool ARDOUR::AutomationWatch::_run_thread
private

Definition at line 52 of file automation_watch.h.

Glib::Threads::Thread* ARDOUR::AutomationWatch::_thread
private

Definition at line 50 of file automation_watch.h.

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

Definition at line 54 of file automation_watch.h.

AutomationWatches ARDOUR::AutomationWatch::automation_watches
private

Definition at line 53 of file automation_watch.h.

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

Definition at line 55 of file automation_watch.h.


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