ardour
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ARDOUR::RegionListProperty Class Reference

#include <playlist.h>

Inheritance diagram for ARDOUR::RegionListProperty:
PBD::SequenceProperty< std::list< boost::shared_ptr< Region > > > PBD::PropertyBase

Public Member Functions

 RegionListProperty (Playlist &)
 
RegionListPropertyclone () const
 
void get_content_as_xml (boost::shared_ptr< Region >, XMLNode &) const
 
boost::shared_ptr< Regionget_content_from_xml (XMLNode const &) const
 
- Public Member Functions inherited from PBD::SequenceProperty< std::list< boost::shared_ptr< Region > > >
 SequenceProperty (PropertyID id, const boost::function< void(const ChangeRecord &)> &update)
 
void invert ()
 
void get_changes_as_xml (XMLNode *history_node) const
 
virtual void get_content_as_xml (typename ChangeContainer::value_type, XMLNode &) const =0
 
bool set_value (XMLNode const &)
 
void get_value (XMLNode &node) const
 
bool changed () const
 
void clear_changes ()
 
void apply_changes (PropertyBase const *p)
 
void update (const ChangeRecord &cr)
 
void get_changes_as_properties (PBD::PropertyList &changes, Command *cmd) const
 
SequenceProperty< std::list
< boost::shared_ptr< Region > > > * 
clone_from_xml (XMLNode const &node) const
 
void clear_owned_changes ()
 
void rdiff (std::vector< Command * > &cmds) const
 
std::list< boost::shared_ptr
< Region > > 
rlist () const
 
std::list< boost::shared_ptr
< Region > >::iterator 
begin ()
 
std::list< boost::shared_ptr
< Region > >::const_iterator 
begin () const
 
std::list< boost::shared_ptr
< Region > >::iterator 
end ()
 
std::list< boost::shared_ptr
< Region > >::const_iterator 
end () const
 
std::list< boost::shared_ptr
< Region > >::reverse_iterator 
rbegin ()
 
std::list< boost::shared_ptr
< Region >
>::const_reverse_iterator 
rbegin () const
 
std::list< boost::shared_ptr
< Region > >::reverse_iterator 
rend ()
 
std::list< boost::shared_ptr
< Region >
>::const_reverse_iterator 
rend () const
 
std::list< boost::shared_ptr
< Region > >::iterator 
insert (typename std::list< boost::shared_ptr< Region > >::iterator i, const typename std::list< boost::shared_ptr< Region > >::value_type &v)
 
std::list< boost::shared_ptr
< Region > >::iterator 
erase (typename std::list< boost::shared_ptr< Region > >::iterator i)
 
std::list< boost::shared_ptr
< Region > >::iterator 
erase (typename std::list< boost::shared_ptr< Region > >::iterator f, typename std::list< boost::shared_ptr< Region > >::iterator l)
 
void remove (const typename std::list< boost::shared_ptr< Region > >::value_type &v)
 
void push_back (const typename std::list< boost::shared_ptr< Region > >::value_type &v)
 
void push_front (const typename std::list< boost::shared_ptr< Region > >::value_type &v)
 
void pop_front ()
 
void pop_back ()
 
void clear ()
 
std::list< boost::shared_ptr
< Region > >::size_type 
size () const
 
bool empty () const
 
std::list< boost::shared_ptr
< Region > > & 
operator= (const std::list< boost::shared_ptr< Region > > &other)
 
std::list< boost::shared_ptr
< Region > >::reference 
front ()
 
std::list< boost::shared_ptr
< Region > >::const_reference 
front () const
 
std::list< boost::shared_ptr
< Region > >::reference 
back ()
 
std::list< boost::shared_ptr
< Region > >::const_reference 
back () const
 
void sort ()
 
void sort (BinaryPredicate comp)
 
const ChangeRecord & changes () const
 
- Public Member Functions inherited from PBD::PropertyBase
 PropertyBase (PropertyID pid)
 
virtual ~PropertyBase ()
 
const gchar * property_name () const
 
PropertyID property_id () const
 
bool operator== (PropertyID pid) const
 

Private Member Functions

RegionListPropertycreate () const
 
 RegionListProperty (RegionListProperty const &p)
 

Private Attributes

Playlist_playlist
 

Friends

class Playlist
 

Additional Inherited Members

- Public Types inherited from PBD::SequenceProperty< std::list< boost::shared_ptr< Region > > >
typedef std::set< typename
std::list< boost::shared_ptr
< Region > >::value_type > 
ChangeContainer
 
- Protected Member Functions inherited from PBD::SequenceProperty< std::list< boost::shared_ptr< Region > > >
 SequenceProperty (SequenceProperty< std::list< boost::shared_ptr< Region > > > const &p)
 
- Protected Member Functions inherited from PBD::PropertyBase
 PropertyBase (PropertyBase const &b)
 
- Protected Attributes inherited from PBD::SequenceProperty< std::list< boost::shared_ptr< Region > > >
std::list< boost::shared_ptr
< Region > > 
_val
 our actual container of things More...
 
ChangeRecord _changes
 changes to the container (adds/removes) that have happened since clear_changes() was last called More...
 
boost::function< void(const
ChangeRecord &)> 
_update_callback
 

Detailed Description

Definition at line 61 of file playlist.h.

Constructor & Destructor Documentation

RegionListProperty::RegionListProperty ( Playlist pl)

Definition at line 74 of file playlist.cc.

RegionListProperty::RegionListProperty ( RegionListProperty const &  p)
private

Definition at line 81 of file playlist.cc.

Member Function Documentation

RegionListProperty * RegionListProperty::clone ( ) const
virtual

Implements PBD::PropertyBase.

Definition at line 89 of file playlist.cc.

RegionListProperty * RegionListProperty::create ( ) const
privatevirtual
void RegionListProperty::get_content_as_xml ( boost::shared_ptr< Region region,
XMLNode node 
) const

Definition at line 101 of file playlist.cc.

boost::shared_ptr< Region > RegionListProperty::get_content_from_xml ( XMLNode const &  node) const
virtual

Given an <Add> or <Remove> node as passed into get_content_to_xml, obtain an item

Implements PBD::SequenceProperty< std::list< boost::shared_ptr< Region > > >.

Definition at line 111 of file playlist.cc.

Friends And Related Function Documentation

friend class Playlist
friend

Definition at line 76 of file playlist.h.

Member Data Documentation

Playlist& ARDOUR::RegionListProperty::_playlist
private

Definition at line 78 of file playlist.h.


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