ardour
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
ARDOUR::SessionObject Class Reference

#include <session_object.h>

Inheritance diagram for ARDOUR::SessionObject:
ARDOUR::SessionHandleRef PBD::StatefulDestructible PBD::ScopedConnectionList PBD::Stateful PBD::Destructible ARDOUR::Diskstream ARDOUR::IO ARDOUR::PannerShell ARDOUR::Playlist ARDOUR::Processor ARDOUR::Region ARDOUR::Route ARDOUR::RouteGroup ARDOUR::Source

Public Member Functions

 SessionObject (Session &session, const std::string &name)
 
Sessionsession () const
 
std::string name () const
 
virtual bool set_name (const std::string &str)
 
- Public Member Functions inherited from ARDOUR::SessionHandleRef
 SessionHandleRef (ARDOUR::Session &s)
 
virtual ~SessionHandleRef ()
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 
- Public Member Functions inherited from PBD::Stateful
 Stateful ()
 
virtual ~Stateful ()
 
virtual XMLNodeget_state (void)=0
 
virtual int set_state (const XMLNode &, int version)=0
 
virtual bool apply_changes (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 (Command *) const
 
virtual void rdiff (std::vector< 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
 
- Public Member Functions inherited from PBD::Destructible
 Destructible ()
 
virtual ~Destructible ()
 
void drop_references ()
 

Static Public Member Functions

static void make_property_quarks ()
 

Protected Attributes

PBD::Property< std::string > _name
 
- Protected Attributes inherited from ARDOUR::SessionHandleRef
ARDOUR::Session_session
 
- 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
 
- Public Attributes inherited from PBD::Destructible
PBD::Signal0< void > Destroyed
 
PBD::Signal0< void > DropReferences
 
- Static Public Attributes inherited from PBD::Stateful
static int current_state_version = 0
 
static int loading_state_version = 0
 
- Protected Member Functions inherited from ARDOUR::SessionHandleRef
virtual void session_going_away ()
 
virtual void insanity_check ()
 
- 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 &)
 
PropertyChange set_values (XMLNode const &)
 
virtual void post_set (const PropertyChange &)
 
virtual void send_change (const PropertyChange &)
 
virtual void mid_thaw (const PropertyChange &)
 

Detailed Description

A named object associated with a Session. Objects derived from this class are expected to be destroyed before the session calls drop_references().

Definition at line 43 of file session_object.h.

Constructor & Destructor Documentation

ARDOUR::SessionObject::SessionObject ( Session session,
const std::string &  name 
)
inline

Definition at line 48 of file session_object.h.

Member Function Documentation

void SessionObject::make_property_quarks ( )
static

Definition at line 38 of file session_object.cc.

std::string ARDOUR::SessionObject::name ( ) const
inline

Definition at line 56 of file session_object.h.

Session& ARDOUR::SessionObject::session ( ) const
inline

Definition at line 55 of file session_object.h.

virtual bool ARDOUR::SessionObject::set_name ( const std::string &  str)
inlinevirtual

Member Data Documentation

PBD::Property<std::string> ARDOUR::SessionObject::_name
protected

Definition at line 67 of file session_object.h.


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