Ardour  9.0-pre0-582-g084a23a80d
OSCRouteObserver Class Reference

#include <osc_route_observer.h>

Public Member Functions

 OSCRouteObserver (ArdourSurface::OSC &o, uint32_t sid, ArdourSurface::OSC::OSCSurface *sur)
 
 ~OSCRouteObserver ()
 
std::shared_ptr< ARDOUR::Stripablestrip () const
 
uint32_t strip_id () const
 
lo_address address () const
 
void tick (void)
 
void send_select_status (const PBD::PropertyChange &)
 
void refresh_strip (std::shared_ptr< ARDOUR::Stripable > strip, bool force)
 
void refresh_send (std::shared_ptr< ARDOUR::Send > send, bool force)
 
void set_expand (uint32_t expand)
 
void set_link_ready (uint32_t not_ready)
 
void clear_strip ()
 

Private Member Functions

void send_clear ()
 
void name_changed (const PBD::PropertyChange &what_changed)
 
void panner_changed (std::shared_ptr< ARDOUR::PannerShell >)
 
void group_name ()
 
void pi_changed (PBD::PropertyChange const &)
 
void send_change_message (std::string path, std::shared_ptr< PBD::Controllable > controllable)
 
void send_monitor_status (std::shared_ptr< PBD::Controllable > controllable)
 
void send_gain_message ()
 
void gain_automation ()
 
void send_automation (std::string path, std::shared_ptr< PBD::Controllable > control)
 
void send_trim_message ()
 
void no_strip ()
 

Private Attributes

std::shared_ptr< ARDOUR::Stripable_strip
 
std::shared_ptr< ARDOUR::Send_send
 
std::shared_ptr< ARDOUR::GainControl_gain_control
 
PBD::ScopedConnectionList strip_connections
 
PBD::ScopedConnectionList pan_connections
 
ArdourSurface::OSC_osc
 
lo_address addr
 
std::string path
 
uint32_t gainmode
 
std::bitset< 32 > feedback
 
uint32_t ssid
 
ArdourSurface::OSC::OSCSurfacesur
 
float _last_meter
 
uint32_t gain_timeout
 
float _last_gain
 
float _last_trim
 
bool _init
 
uint32_t _expand
 
bool in_line
 
ARDOUR::AutoState as
 
bool _tick_busy
 
std::shared_ptr< ARDOUR::PannerShellcurrent_pan_shell
 

Detailed Description

Definition at line 37 of file osc_route_observer.h.

Constructor & Destructor Documentation

◆ OSCRouteObserver()

OSCRouteObserver::OSCRouteObserver ( ArdourSurface::OSC o,
uint32_t  sid,
ArdourSurface::OSC::OSCSurface sur 
)

◆ ~OSCRouteObserver()

OSCRouteObserver::~OSCRouteObserver ( )

Member Function Documentation

◆ address()

lo_address OSCRouteObserver::address ( ) const
inline

Definition at line 46 of file osc_route_observer.h.

◆ clear_strip()

void OSCRouteObserver::clear_strip ( )

◆ gain_automation()

void OSCRouteObserver::gain_automation ( )
private

◆ group_name()

void OSCRouteObserver::group_name ( )
private

◆ name_changed()

void OSCRouteObserver::name_changed ( const PBD::PropertyChange what_changed)
private

◆ no_strip()

void OSCRouteObserver::no_strip ( )
private

◆ panner_changed()

void OSCRouteObserver::panner_changed ( std::shared_ptr< ARDOUR::PannerShell )
private

◆ pi_changed()

void OSCRouteObserver::pi_changed ( PBD::PropertyChange const &  )
private

◆ refresh_send()

void OSCRouteObserver::refresh_send ( std::shared_ptr< ARDOUR::Send send,
bool  force 
)

◆ refresh_strip()

void OSCRouteObserver::refresh_strip ( std::shared_ptr< ARDOUR::Stripable strip,
bool  force 
)

◆ send_automation()

void OSCRouteObserver::send_automation ( std::string  path,
std::shared_ptr< PBD::Controllable control 
)
private

◆ send_change_message()

void OSCRouteObserver::send_change_message ( std::string  path,
std::shared_ptr< PBD::Controllable controllable 
)
private

◆ send_clear()

void OSCRouteObserver::send_clear ( )
private

◆ send_gain_message()

void OSCRouteObserver::send_gain_message ( )
private

◆ send_monitor_status()

void OSCRouteObserver::send_monitor_status ( std::shared_ptr< PBD::Controllable controllable)
private

◆ send_select_status()

void OSCRouteObserver::send_select_status ( const PBD::PropertyChange )

◆ send_trim_message()

void OSCRouteObserver::send_trim_message ( )
private

◆ set_expand()

void OSCRouteObserver::set_expand ( uint32_t  expand)

◆ set_link_ready()

void OSCRouteObserver::set_link_ready ( uint32_t  not_ready)

◆ strip()

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

Definition at line 44 of file osc_route_observer.h.

◆ strip_id()

uint32_t OSCRouteObserver::strip_id ( ) const
inline

Definition at line 45 of file osc_route_observer.h.

◆ tick()

void OSCRouteObserver::tick ( void  )

Member Data Documentation

◆ _expand

uint32_t OSCRouteObserver::_expand
private

Definition at line 75 of file osc_route_observer.h.

◆ _gain_control

std::shared_ptr<ARDOUR::GainControl> OSCRouteObserver::_gain_control
private

Definition at line 58 of file osc_route_observer.h.

◆ _init

bool OSCRouteObserver::_init
private

Definition at line 74 of file osc_route_observer.h.

◆ _last_gain

float OSCRouteObserver::_last_gain
private

Definition at line 72 of file osc_route_observer.h.

◆ _last_meter

float OSCRouteObserver::_last_meter
private

Definition at line 70 of file osc_route_observer.h.

◆ _last_trim

float OSCRouteObserver::_last_trim
private

Definition at line 73 of file osc_route_observer.h.

◆ _osc

ArdourSurface::OSC& OSCRouteObserver::_osc
private

Definition at line 63 of file osc_route_observer.h.

◆ _send

std::shared_ptr<ARDOUR::Send> OSCRouteObserver::_send
private

Definition at line 57 of file osc_route_observer.h.

◆ _strip

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

Definition at line 56 of file osc_route_observer.h.

◆ _tick_busy

bool OSCRouteObserver::_tick_busy
private

Definition at line 78 of file osc_route_observer.h.

◆ addr

lo_address OSCRouteObserver::addr
private

Definition at line 64 of file osc_route_observer.h.

◆ as

ARDOUR::AutoState OSCRouteObserver::as
private

Definition at line 77 of file osc_route_observer.h.

◆ current_pan_shell

std::shared_ptr<ARDOUR::PannerShell> OSCRouteObserver::current_pan_shell
private

Definition at line 79 of file osc_route_observer.h.

◆ feedback

std::bitset<32> OSCRouteObserver::feedback
private

Definition at line 67 of file osc_route_observer.h.

◆ gain_timeout

uint32_t OSCRouteObserver::gain_timeout
private

Definition at line 71 of file osc_route_observer.h.

◆ gainmode

uint32_t OSCRouteObserver::gainmode
private

Definition at line 66 of file osc_route_observer.h.

◆ in_line

bool OSCRouteObserver::in_line
private

Definition at line 76 of file osc_route_observer.h.

◆ pan_connections

PBD::ScopedConnectionList OSCRouteObserver::pan_connections
private

Definition at line 61 of file osc_route_observer.h.

◆ path

std::string OSCRouteObserver::path
private

Definition at line 65 of file osc_route_observer.h.

◆ ssid

uint32_t OSCRouteObserver::ssid
private

Definition at line 68 of file osc_route_observer.h.

◆ strip_connections

PBD::ScopedConnectionList OSCRouteObserver::strip_connections
private

Definition at line 60 of file osc_route_observer.h.

◆ sur

ArdourSurface::OSC::OSCSurface* OSCRouteObserver::sur
private

Definition at line 69 of file osc_route_observer.h.


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