Ardour  8.7-15-gadf511264b
OSCControllable Class Reference

#include <osc_controllable.h>

Inheritance diagram for OSCControllable:
[legend]

Public Member Functions

 OSCControllable (lo_address addr, const std::string &path, std::shared_ptr< PBD::Controllable >)
 
virtual ~OSCControllable ()
 
lo_address address () const
 
XMLNodeget_state () const
 
int set_state (const XMLNode &node, int version)
 
- Public Member Functions inherited from PBD::Stateful
 Stateful ()
 
virtual ~Stateful ()
 
virtual bool apply_change (PropertyBase const &)
 
PropertyChange apply_changes (PropertyList const &)
 
const OwnedPropertyListproperties () const
 
void add_property (PropertyBase &s)
 
void add_extra_xml (XMLNode &)
 
XMLNodeextra_xml (const std::string &str, bool add_if_missing=false)
 
void save_extra_xml (const XMLNode &)
 
const PBD::IDid () const
 
bool set_id (const XMLNode &)
 
void set_id (const std::string &)
 
void reset_id ()
 
void clear_changes ()
 
virtual void clear_owned_changes ()
 
PropertyListget_changes_as_properties (PBD::Command *) const
 
virtual void rdiff (std::vector< PBD::Command * > &) const
 
bool changed () const
 
virtual PropertyListproperty_factory (const XMLNode &) const
 
virtual void suspend_property_changes ()
 
virtual void resume_property_changes ()
 
bool property_changes_suspended () const
 

Protected Member Functions

virtual void send_change_message ()
 
- Protected Member Functions inherited from PBD::Stateful
void add_instant_xml (XMLNode &, const std::string &directory_path)
 
XMLNodeinstant_xml (const std::string &str, const std::string &directory_path)
 
void add_properties (XMLNode &) const
 
PropertyChange set_values (XMLNode const &)
 
virtual void post_set (const PropertyChange &)
 
virtual void send_change (const PropertyChange &)
 
virtual void mid_thaw (const PropertyChange &)
 
bool regenerate_xml_or_string_ids () const
 

Protected Attributes

std::shared_ptr< PBD::Controllablecontrollable
 
PBD::ScopedConnection changed_connection
 
lo_address addr
 
std::string path
 
- Protected Attributes inherited from PBD::Stateful
XMLNode_extra_xml
 
XMLNode_instant_xml
 
PBD::PropertyChange _pending_changed
 
Glib::Threads::Mutex _lock
 
std::string _xml_node_name
 name of node to use for this object in XML More...
 
OwnedPropertyList_properties
 

Additional Inherited Members

- Public Attributes inherited from PBD::Stateful
PBD::Signal1< void, const PropertyChange & > PropertyChanged
 
- Static Public Attributes inherited from PBD::Stateful
static int current_state_version
 
static int loading_state_version
 

Detailed Description

Definition at line 36 of file osc_controllable.h.

Constructor & Destructor Documentation

◆ OSCControllable()

OSCControllable::OSCControllable ( lo_address  addr,
const std::string &  path,
std::shared_ptr< PBD::Controllable  
)

◆ ~OSCControllable()

virtual OSCControllable::~OSCControllable ( )
virtual

Member Function Documentation

◆ address()

lo_address OSCControllable::address ( ) const
inline

Definition at line 42 of file osc_controllable.h.

◆ get_state()

XMLNode& OSCControllable::get_state ( ) const
virtual

Implements PBD::Stateful.

◆ send_change_message()

virtual void OSCControllable::send_change_message ( )
protectedvirtual

Reimplemented in OSCRouteControllable.

◆ set_state()

int OSCControllable::set_state ( const XMLNode node,
int  version 
)
virtual

Implements PBD::Stateful.

Member Data Documentation

◆ addr

lo_address OSCControllable::addr
protected

Definition at line 50 of file osc_controllable.h.

◆ changed_connection

PBD::ScopedConnection OSCControllable::changed_connection
protected

Definition at line 49 of file osc_controllable.h.

◆ controllable

std::shared_ptr<PBD::Controllable> OSCControllable::controllable
protected

Definition at line 48 of file osc_controllable.h.

◆ path

std::string OSCControllable::path
protected

Definition at line 51 of file osc_controllable.h.


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