Ardour
9.0-pre0-582-g084a23a80d
|
#include <properties.h>
Public Member Functions | |
PropertyTemplate (PropertyDescriptor< T > p, T const &v) | |
PropertyTemplate (PropertyDescriptor< T > p, T const &o, T const &c) | |
PropertyTemplate (PropertyDescriptor< T > p, PropertyTemplate< T > const &s) | |
T & | operator= (T const &v) |
PropertyTemplate< T > & | operator= (PropertyTemplate< T > const &p) |
T & | operator+= (T const &v) |
T | operator- (T const other) const |
bool | operator< (T const &other) const |
bool | operator> (T const &other) const |
bool | operator== (const T &other) const |
bool | operator!= (const T &other) const |
operator T const & () const | |
T const & | val () const |
T & | non_const_val () |
bool | set_value (XMLNode const &node) |
void | get_value (XMLNode &node) const |
void | clear_changes () |
bool | changed () const |
void | invert () |
void | get_changes_as_xml (XMLNode *history_node) const |
void | get_changes_as_properties (PropertyList &changes, Command *) const |
void | apply_change (PropertyBase const *p) |
Public Member Functions inherited from PBD::PropertyBase | |
PropertyBase (PropertyID pid) | |
virtual | ~PropertyBase () |
virtual void | clear_owned_changes () |
virtual void | rdiff (std::vector< PBD::Command * > &) const |
virtual PropertyBase * | clone_from_xml (const XMLNode &) const |
virtual PropertyBase * | clone () const =0 |
const gchar * | property_name () const |
PropertyID | property_id () const |
bool | operator== (PropertyID pid) const |
Protected Member Functions | |
void | set (T const &v) |
virtual std::string | to_string (T const &v) const =0 |
virtual T | from_string (std::string const &s) const =0 |
Protected Member Functions inherited from PBD::PropertyBase | |
PropertyBase (PropertyBase const &b) | |
Protected Attributes | |
bool | _have_old |
T | _current |
T | _old |
Private Member Functions | |
PropertyTemplate (PropertyTemplate< T > const &) | |
Parent class for classes which represent a single scalar property in a Stateful object
Definition at line 41 of file properties.h.
|
inline |
Definition at line 44 of file properties.h.
|
inline |
Definition at line 50 of file properties.h.
|
inline |
Definition at line 57 of file properties.h.
|
private |
|
inlinevirtual |
Set this property's current state from another
Implements PBD::PropertyBase.
Definition at line 172 of file properties.h.
|
inlinevirtual |
Implements PBD::PropertyBase.
Definition at line 146 of file properties.h.
|
inlinevirtual |
Forget about any old changes to this property's value
Implements PBD::PropertyBase.
Definition at line 142 of file properties.h.
|
protectedpure virtual |
Implemented in PBD::EnumProperty< T >, PBD::Property< std::string >, PBD::Property< T >, PBD::Property< Temporal::BBT_Offset >, PBD::Property< uint32_t >, PBD::Property< gain_t >, PBD::Property< Temporal::timecnt_t >, PBD::Property< float >, PBD::Property< int >, PBD::Property< LaunchStyle >, PBD::Property< StretchMode >, PBD::Property< int32_t >, PBD::Property< Temporal::timepos_t >, PBD::Property< color_t >, PBD::Property< bool >, PBD::Property< ARDOUR::FollowAction >, PBD::Property< TransportRequestType >, and PBD::Property< uint64_t >.
|
inlinevirtual |
If this Property has changed, clone it and add it to a given list. Used for making StatefulDiffCommands.
Implements PBD::PropertyBase.
Definition at line 163 of file properties.h.
|
inlinevirtual |
Get any changes in this property as XML and add them to a StatefulDiffCommand node.
Implements PBD::PropertyBase.
Definition at line 157 of file properties.h.
|
inlinevirtual |
Get this property's value and put it into a Stateful node
Implements PBD::PropertyBase.
Definition at line 135 of file properties.h.
|
inlinevirtual |
Invert the changes in this property
Implements PBD::PropertyBase.
Definition at line 148 of file properties.h.
|
inline |
Definition at line 113 of file properties.h.
|
inline |
Definition at line 105 of file properties.h.
|
inline |
Definition at line 101 of file properties.h.
|
inline |
Definition at line 80 of file properties.h.
|
inline |
Definition at line 85 of file properties.h.
|
inline |
Definition at line 89 of file properties.h.
|
inline |
Definition at line 75 of file properties.h.
|
inline |
Definition at line 66 of file properties.h.
|
inline |
Definition at line 97 of file properties.h.
|
inline |
Definition at line 93 of file properties.h.
|
inlineprotected |
Definition at line 181 of file properties.h.
|
inlinevirtual |
Set the value of this property from a Stateful node.
Implements PBD::PropertyBase.
Definition at line 119 of file properties.h.
|
protectedpure virtual |
Implemented in PBD::EnumProperty< T >, PBD::Property< T >, and PBD::Property< std::string >.
|
inline |
Definition at line 109 of file properties.h.
|
protected |
Definition at line 206 of file properties.h.
|
protected |
Definition at line 205 of file properties.h.
|
protected |
Definition at line 207 of file properties.h.