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

#include <scene_change.h>

Inheritance diagram for ARDOUR::SceneChange:
PBD::Stateful ARDOUR::MIDISceneChange

Public Member Functions

 SceneChange ()
 
virtual ~SceneChange ()
 
uint32_t color () const
 
void set_color (uint32_t)
 
bool color_out_of_bounds () const
 
- 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
 

Static Public Member Functions

static boost::shared_ptr
< SceneChange
factory (const XMLNode &, int version)
 

Public Attributes

PBD::Signal0< void > ColorChanged
 
- Public Attributes inherited from PBD::Stateful
PBD::Signal1< void, const
PropertyChange & > 
PropertyChanged
 

Static Public Attributes

static std::string xml_node_name = X_("SceneChange")
 
static const uint32_t out_of_bound_color = 0x00000000
 
- Static Public Attributes inherited from PBD::Stateful
static int current_state_version = 0
 
static int loading_state_version = 0
 

Protected Attributes

uint32_t _color
 
- 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

- 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

Definition at line 30 of file scene_change.h.

Constructor & Destructor Documentation

SceneChange::SceneChange ( )

Definition at line 42 of file scene_change.cc.

virtual ARDOUR::SceneChange::~SceneChange ( )
inlinevirtual

Definition at line 34 of file scene_change.h.

Member Function Documentation

uint32_t SceneChange::color ( ) const

Definition at line 55 of file scene_change.cc.

bool ARDOUR::SceneChange::color_out_of_bounds ( ) const
inline

Definition at line 41 of file scene_change.h.

boost::shared_ptr< SceneChange > SceneChange::factory ( const XMLNode node,
int  version 
)
static

Definition at line 31 of file scene_change.cc.

void SceneChange::set_color ( uint32_t  c)

Definition at line 48 of file scene_change.cc.

Member Data Documentation

uint32_t ARDOUR::SceneChange::_color
protected

Definition at line 48 of file scene_change.h.

PBD::Signal0<void> ARDOUR::SceneChange::ColorChanged

Definition at line 44 of file scene_change.h.

const uint32_t SceneChange::out_of_bound_color = 0x00000000
static

Definition at line 42 of file scene_change.h.

std::string SceneChange::xml_node_name = X_("SceneChange")
static

Definition at line 37 of file scene_change.h.


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