Ardour  9.0-pre0-582-g084a23a80d
OSCSelectObserver Class Reference

#include <osc_select_observer.h>

Public Member Functions

 OSCSelectObserver (ArdourSurface::OSC &o, ARDOUR::Session &s, ArdourSurface::OSC::OSCSurface *sur)
 
 ~OSCSelectObserver ()
 
std::shared_ptr< ARDOUR::Stripablestrip () const
 
lo_address address () const
 
void tick (void)
 
void renew_sends (void)
 
void renew_plugin (void)
 
void eq_restart (int)
 
void clear_observer (void)
 
void refresh_strip (std::shared_ptr< ARDOUR::Stripable > new_strip, uint32_t nsends, uint32_t g_mode, bool force)
 
void set_expand (uint32_t expand)
 
void set_send_page (uint32_t page)
 
void set_send_size (uint32_t size)
 
void set_plugin_id (int id, uint32_t page)
 
void set_plugin_page (uint32_t page)
 
void set_plugin_size (uint32_t size)
 
void set_feedback (std::bitset< 32 > fb)
 

Private Member Functions

void name_changed (const PBD::PropertyChange &what_changed)
 
void panner_changed ()
 
void group_name ()
 
void group_sharing (ARDOUR::RouteGroup *rg_c)
 
void comment_changed ()
 
void pi_changed (PBD::PropertyChange const &)
 
void change_message (std::string path, std::shared_ptr< PBD::Controllable > controllable)
 
void enable_message (std::string path, std::shared_ptr< PBD::Controllable > controllable)
 
void comp_mode (void)
 
void change_message_with_id (std::string path, uint32_t id, std::shared_ptr< PBD::Controllable > controllable)
 
void enable_message_with_id (std::string path, uint32_t id, std::shared_ptr< PBD::Controllable > controllable)
 
void monitor_status (std::shared_ptr< PBD::Controllable > controllable)
 
void gain_message ()
 
void gain_automation ()
 
void send_automation (std::string path, std::shared_ptr< PBD::Controllable > control)
 
void trim_message (std::string path, std::shared_ptr< PBD::Controllable > controllable)
 
void send_init (void)
 
void send_end (void)
 
void plugin_init (void)
 
void plugin_end (void)
 
void plugin_parameter_changed (int pid, bool swtch, std::shared_ptr< PBD::Controllable > controllable)
 
void send_gain (uint32_t id, std::shared_ptr< PBD::Controllable > controllable)
 
void send_enable (std::string path, uint32_t id, std::shared_ptr< ARDOUR::Processor > proc)
 
void plug_enable (std::string path, std::shared_ptr< ARDOUR::Processor > proc)
 
void eq_init (void)
 
void eq_end (void)
 
void no_strip ()
 
void slaved_changed (std::shared_ptr< ARDOUR::VCA > vca, bool state)
 

Private Attributes

std::shared_ptr< ARDOUR::Stripable_strip
 
ArdourSurface::OSC_osc
 
PBD::ScopedConnectionList strip_connections
 
PBD::ScopedConnectionList pan_connections
 
PBD::ScopedConnectionList send_connections
 
PBD::ScopedConnectionList plugin_connections
 
PBD::ScopedConnectionList eq_connections
 
lo_address addr
 
std::string path
 
uint32_t gainmode
 
std::bitset< 32 > feedback
 
bool in_line
 
ArdourSurface::OSC::OSCSurfacesur
 
std::vector< int > send_timeout
 
uint32_t gain_timeout
 
float _last_meter
 
uint32_t nsends
 
float _last_gain
 
float _last_trim
 
std::vector< float > _last_send
 
bool _init
 
float _comp_redux
 
ARDOUR::AutoState as
 
uint32_t send_page_size
 
uint32_t send_size
 
uint32_t send_page
 
uint32_t nplug_params
 
uint32_t plug_page_size
 
uint32_t plug_page
 
int plug_id
 
uint32_t plug_size
 
std::vector< int > plug_params
 
int eq_bands
 
uint32_t _expand
 
std::bitset< 16 > _group_sharing
 
bool _tick_busy
 
ARDOUR::Sessionsession
 

Detailed Description

Definition at line 38 of file osc_select_observer.h.

Constructor & Destructor Documentation

◆ OSCSelectObserver()

OSCSelectObserver::OSCSelectObserver ( ArdourSurface::OSC o,
ARDOUR::Session s,
ArdourSurface::OSC::OSCSurface sur 
)

◆ ~OSCSelectObserver()

OSCSelectObserver::~OSCSelectObserver ( )

Member Function Documentation

◆ address()

lo_address OSCSelectObserver::address ( ) const
inline

Definition at line 46 of file osc_select_observer.h.

◆ change_message()

void OSCSelectObserver::change_message ( std::string  path,
std::shared_ptr< PBD::Controllable controllable 
)
private

◆ change_message_with_id()

void OSCSelectObserver::change_message_with_id ( std::string  path,
uint32_t  id,
std::shared_ptr< PBD::Controllable controllable 
)
private

◆ clear_observer()

void OSCSelectObserver::clear_observer ( void  )

◆ comment_changed()

void OSCSelectObserver::comment_changed ( )
private

◆ comp_mode()

void OSCSelectObserver::comp_mode ( void  )
private

◆ enable_message()

void OSCSelectObserver::enable_message ( std::string  path,
std::shared_ptr< PBD::Controllable controllable 
)
private

◆ enable_message_with_id()

void OSCSelectObserver::enable_message_with_id ( std::string  path,
uint32_t  id,
std::shared_ptr< PBD::Controllable controllable 
)
private

◆ eq_end()

void OSCSelectObserver::eq_end ( void  )
private

◆ eq_init()

void OSCSelectObserver::eq_init ( void  )
private

◆ eq_restart()

void OSCSelectObserver::eq_restart ( int  )

◆ gain_automation()

void OSCSelectObserver::gain_automation ( )
private

◆ gain_message()

void OSCSelectObserver::gain_message ( )
private

◆ group_name()

void OSCSelectObserver::group_name ( )
private

◆ group_sharing()

void OSCSelectObserver::group_sharing ( ARDOUR::RouteGroup rg_c)
private

◆ monitor_status()

void OSCSelectObserver::monitor_status ( std::shared_ptr< PBD::Controllable controllable)
private

◆ name_changed()

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

◆ no_strip()

void OSCSelectObserver::no_strip ( )
private

◆ panner_changed()

void OSCSelectObserver::panner_changed ( )
private

◆ pi_changed()

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

◆ plug_enable()

void OSCSelectObserver::plug_enable ( std::string  path,
std::shared_ptr< ARDOUR::Processor proc 
)
private

◆ plugin_end()

void OSCSelectObserver::plugin_end ( void  )
private

◆ plugin_init()

void OSCSelectObserver::plugin_init ( void  )
private

◆ plugin_parameter_changed()

void OSCSelectObserver::plugin_parameter_changed ( int  pid,
bool  swtch,
std::shared_ptr< PBD::Controllable controllable 
)
private

◆ refresh_strip()

void OSCSelectObserver::refresh_strip ( std::shared_ptr< ARDOUR::Stripable new_strip,
uint32_t  nsends,
uint32_t  g_mode,
bool  force 
)

◆ renew_plugin()

void OSCSelectObserver::renew_plugin ( void  )

◆ renew_sends()

void OSCSelectObserver::renew_sends ( void  )

◆ send_automation()

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

◆ send_enable()

void OSCSelectObserver::send_enable ( std::string  path,
uint32_t  id,
std::shared_ptr< ARDOUR::Processor proc 
)
private

◆ send_end()

void OSCSelectObserver::send_end ( void  )
private

◆ send_gain()

void OSCSelectObserver::send_gain ( uint32_t  id,
std::shared_ptr< PBD::Controllable controllable 
)
private

◆ send_init()

void OSCSelectObserver::send_init ( void  )
private

◆ set_expand()

void OSCSelectObserver::set_expand ( uint32_t  expand)

◆ set_feedback()

void OSCSelectObserver::set_feedback ( std::bitset< 32 >  fb)

◆ set_plugin_id()

void OSCSelectObserver::set_plugin_id ( int  id,
uint32_t  page 
)

◆ set_plugin_page()

void OSCSelectObserver::set_plugin_page ( uint32_t  page)

◆ set_plugin_size()

void OSCSelectObserver::set_plugin_size ( uint32_t  size)

◆ set_send_page()

void OSCSelectObserver::set_send_page ( uint32_t  page)

◆ set_send_size()

void OSCSelectObserver::set_send_size ( uint32_t  size)

◆ slaved_changed()

void OSCSelectObserver::slaved_changed ( std::shared_ptr< ARDOUR::VCA vca,
bool  state 
)
private

◆ strip()

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

Definition at line 45 of file osc_select_observer.h.

◆ tick()

void OSCSelectObserver::tick ( void  )

◆ trim_message()

void OSCSelectObserver::trim_message ( std::string  path,
std::shared_ptr< PBD::Controllable controllable 
)
private

Member Data Documentation

◆ _comp_redux

float OSCSelectObserver::_comp_redux
private

Definition at line 86 of file osc_select_observer.h.

◆ _expand

uint32_t OSCSelectObserver::_expand
private

Definition at line 99 of file osc_select_observer.h.

◆ _group_sharing

std::bitset<16> OSCSelectObserver::_group_sharing
private

Definition at line 100 of file osc_select_observer.h.

◆ _init

bool OSCSelectObserver::_init
private

Definition at line 85 of file osc_select_observer.h.

◆ _last_gain

float OSCSelectObserver::_last_gain
private

Definition at line 82 of file osc_select_observer.h.

◆ _last_meter

float OSCSelectObserver::_last_meter
private

Definition at line 80 of file osc_select_observer.h.

◆ _last_send

std::vector<float> OSCSelectObserver::_last_send
private

Definition at line 84 of file osc_select_observer.h.

◆ _last_trim

float OSCSelectObserver::_last_trim
private

Definition at line 83 of file osc_select_observer.h.

◆ _osc

ArdourSurface::OSC& OSCSelectObserver::_osc
private

Definition at line 63 of file osc_select_observer.h.

◆ _strip

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

Definition at line 62 of file osc_select_observer.h.

◆ _tick_busy

bool OSCSelectObserver::_tick_busy
private

Definition at line 101 of file osc_select_observer.h.

◆ addr

lo_address OSCSelectObserver::addr
private

Definition at line 72 of file osc_select_observer.h.

◆ as

ARDOUR::AutoState OSCSelectObserver::as
private

Definition at line 87 of file osc_select_observer.h.

◆ eq_bands

int OSCSelectObserver::eq_bands
private

Definition at line 98 of file osc_select_observer.h.

◆ eq_connections

PBD::ScopedConnectionList OSCSelectObserver::eq_connections
private

Definition at line 70 of file osc_select_observer.h.

◆ feedback

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

Definition at line 75 of file osc_select_observer.h.

◆ gain_timeout

uint32_t OSCSelectObserver::gain_timeout
private

Definition at line 79 of file osc_select_observer.h.

◆ gainmode

uint32_t OSCSelectObserver::gainmode
private

Definition at line 74 of file osc_select_observer.h.

◆ in_line

bool OSCSelectObserver::in_line
private

Definition at line 76 of file osc_select_observer.h.

◆ nplug_params

uint32_t OSCSelectObserver::nplug_params
private

Definition at line 92 of file osc_select_observer.h.

◆ nsends

uint32_t OSCSelectObserver::nsends
private

Definition at line 81 of file osc_select_observer.h.

◆ pan_connections

PBD::ScopedConnectionList OSCSelectObserver::pan_connections
private

Definition at line 67 of file osc_select_observer.h.

◆ path

std::string OSCSelectObserver::path
private

Definition at line 73 of file osc_select_observer.h.

◆ plug_id

int OSCSelectObserver::plug_id
private

Definition at line 95 of file osc_select_observer.h.

◆ plug_page

uint32_t OSCSelectObserver::plug_page
private

Definition at line 94 of file osc_select_observer.h.

◆ plug_page_size

uint32_t OSCSelectObserver::plug_page_size
private

Definition at line 93 of file osc_select_observer.h.

◆ plug_params

std::vector<int> OSCSelectObserver::plug_params
private

Definition at line 97 of file osc_select_observer.h.

◆ plug_size

uint32_t OSCSelectObserver::plug_size
private

Definition at line 96 of file osc_select_observer.h.

◆ plugin_connections

PBD::ScopedConnectionList OSCSelectObserver::plugin_connections
private

Definition at line 69 of file osc_select_observer.h.

◆ send_connections

PBD::ScopedConnectionList OSCSelectObserver::send_connections
private

Definition at line 68 of file osc_select_observer.h.

◆ send_page

uint32_t OSCSelectObserver::send_page
private

Definition at line 90 of file osc_select_observer.h.

◆ send_page_size

uint32_t OSCSelectObserver::send_page_size
private

Definition at line 88 of file osc_select_observer.h.

◆ send_size

uint32_t OSCSelectObserver::send_size
private

Definition at line 89 of file osc_select_observer.h.

◆ send_timeout

std::vector<int> OSCSelectObserver::send_timeout
private

Definition at line 78 of file osc_select_observer.h.

◆ session

ARDOUR::Session* OSCSelectObserver::session
private

Definition at line 102 of file osc_select_observer.h.

◆ strip_connections

PBD::ScopedConnectionList OSCSelectObserver::strip_connections
private

Definition at line 65 of file osc_select_observer.h.

◆ sur

ArdourSurface::OSC::OSCSurface* OSCSelectObserver::sur
private

Definition at line 77 of file osc_select_observer.h.


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