Ardour  9.0-pre0-386-g96ef4d20f2
OSCCueObserver Class Reference

#include <osc_cue_observer.h>

Public Types

typedef std::vector< std::shared_ptr< ARDOUR::Stripable > > Sorted
 

Public Member Functions

 OSCCueObserver (ArdourSurface::OSC &o, ArdourSurface::OSC::OSCSurface *sur)
 
 ~OSCCueObserver ()
 
std::shared_ptr< ARDOUR::Stripablestrip () const
 
lo_address address () const
 
void tick (void)
 
void clear_observer (void)
 
void refresh_strip (std::shared_ptr< ARDOUR::Stripable > new_strip, Sorted new_sends, bool force)
 

Public Attributes

Sorted sends
 

Private Member Functions

void name_changed (const PBD::PropertyChange &what_changed, uint32_t id)
 
void send_change_message (std::string path, uint32_t id, std::weak_ptr< PBD::Controllable > controllable)
 
void send_gain_message (uint32_t id, std::weak_ptr< PBD::Controllable > controllable, bool force)
 
void send_enabled_message (std::string path, uint32_t id, std::weak_ptr< ARDOUR::Processor > proc)
 
void send_init (void)
 
void send_end (uint32_t new_sends_size)
 
void send_restart (void)
 

Private Attributes

std::shared_ptr< ARDOUR::Stripable_strip
 
ArdourSurface::OSC_osc
 
PBD::ScopedConnectionList strip_connections
 
PBD::ScopedConnectionList send_connections
 
lo_address addr
 
std::string path
 
ArdourSurface::OSC::OSCSurfacesur
 
float _last_meter
 
float _last_signal
 
std::map< uint32_t, float > gain_timeout
 
bool tick_enable
 
std::map< uint32_t, float > _last_gain
 

Detailed Description

Definition at line 35 of file osc_cue_observer.h.

Member Typedef Documentation

◆ Sorted

typedef std::vector<std::shared_ptr<ARDOUR::Stripable> > OSCCueObserver::Sorted

Definition at line 45 of file osc_cue_observer.h.

Constructor & Destructor Documentation

◆ OSCCueObserver()

OSCCueObserver::OSCCueObserver ( ArdourSurface::OSC o,
ArdourSurface::OSC::OSCSurface sur 
)

◆ ~OSCCueObserver()

OSCCueObserver::~OSCCueObserver ( )

Member Function Documentation

◆ address()

lo_address OSCCueObserver::address ( ) const
inline

Definition at line 43 of file osc_cue_observer.h.

◆ clear_observer()

void OSCCueObserver::clear_observer ( void  )

◆ name_changed()

void OSCCueObserver::name_changed ( const PBD::PropertyChange what_changed,
uint32_t  id 
)
private

◆ refresh_strip()

void OSCCueObserver::refresh_strip ( std::shared_ptr< ARDOUR::Stripable new_strip,
Sorted  new_sends,
bool  force 
)

◆ send_change_message()

void OSCCueObserver::send_change_message ( std::string  path,
uint32_t  id,
std::weak_ptr< PBD::Controllable controllable 
)
private

◆ send_enabled_message()

void OSCCueObserver::send_enabled_message ( std::string  path,
uint32_t  id,
std::weak_ptr< ARDOUR::Processor proc 
)
private

◆ send_end()

void OSCCueObserver::send_end ( uint32_t  new_sends_size)
private

◆ send_gain_message()

void OSCCueObserver::send_gain_message ( uint32_t  id,
std::weak_ptr< PBD::Controllable controllable,
bool  force 
)
private

◆ send_init()

void OSCCueObserver::send_init ( void  )
private

◆ send_restart()

void OSCCueObserver::send_restart ( void  )
private

◆ strip()

std::shared_ptr<ARDOUR::Stripable> OSCCueObserver::strip ( ) const
inline

Definition at line 42 of file osc_cue_observer.h.

◆ tick()

void OSCCueObserver::tick ( void  )

Member Data Documentation

◆ _last_gain

std::map<uint32_t,float> OSCCueObserver::_last_gain
private

Definition at line 65 of file osc_cue_observer.h.

◆ _last_meter

float OSCCueObserver::_last_meter
private

Definition at line 61 of file osc_cue_observer.h.

◆ _last_signal

float OSCCueObserver::_last_signal
private

Definition at line 62 of file osc_cue_observer.h.

◆ _osc

ArdourSurface::OSC& OSCCueObserver::_osc
private

Definition at line 53 of file osc_cue_observer.h.

◆ _strip

std::shared_ptr<ARDOUR::Stripable> OSCCueObserver::_strip
private

Definition at line 52 of file osc_cue_observer.h.

◆ addr

lo_address OSCCueObserver::addr
private

Definition at line 58 of file osc_cue_observer.h.

◆ gain_timeout

std::map<uint32_t,float> OSCCueObserver::gain_timeout
private

Definition at line 63 of file osc_cue_observer.h.

◆ path

std::string OSCCueObserver::path
private

Definition at line 59 of file osc_cue_observer.h.

◆ send_connections

PBD::ScopedConnectionList OSCCueObserver::send_connections
private

Definition at line 56 of file osc_cue_observer.h.

◆ sends

Sorted OSCCueObserver::sends

Definition at line 46 of file osc_cue_observer.h.

◆ strip_connections

PBD::ScopedConnectionList OSCCueObserver::strip_connections
private

Definition at line 55 of file osc_cue_observer.h.

◆ sur

ArdourSurface::OSC::OSCSurface* OSCCueObserver::sur
private

Definition at line 60 of file osc_cue_observer.h.

◆ tick_enable

bool OSCCueObserver::tick_enable
private

Definition at line 64 of file osc_cue_observer.h.


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