Ardour  9.0-pre0-384-ga76afae0e9
ARDOUR::PresentationInfo Class Reference

#include <presentation_info.h>

Inheritance diagram for ARDOUR::PresentationInfo:
[legend]

Classes

class  ChangeSuspender
 

Public Types

enum  Flag {
  AudioTrack = 0x1 , MidiTrack = 0x2 , AudioBus = 0x4 , MidiBus = 0x8 ,
  VCA = 0x10 , MasterOut = 0x20 , MonitorOut = 0x40 , Auditioner = 0x80 ,
  Hidden = 0x100 , OrderSet = 0x400 , FoldbackBus = 0x2000 , TriggerTrack = 0x4000 ,
  SurroundMaster = 0x8000 , StatusMask = (Hidden | TriggerTrack) , MainBus = (MasterOut|MonitorOut|FoldbackBus|SurroundMaster) , Singleton = (MasterOut|MonitorOut|SurroundMaster) ,
  TypeMask = (AudioBus|AudioTrack|MidiTrack|MidiBus|VCA|MasterOut|MonitorOut|Auditioner|FoldbackBus|SurroundMaster)
}
 
typedef uint32_t order_t
 
typedef uint32_t color_t
 

Public Member Functions

 PresentationInfo (Flag f)
 
 PresentationInfo (order_t o, Flag f)
 
 PresentationInfo (PresentationInfo const &)
 
PresentationInfo::Flag flags () const
 
order_t order () const
 
color_t color () const
 
bool color_set () const
 
void set_color (color_t)
 
void set_hidden (bool yn)
 
void set_trigger_track (bool yn)
 
void set_flags (Flag f)
 
bool order_set () const
 
int selection_cnt () const
 
bool hidden () const
 
bool trigger_track () const
 
bool special (bool with_master=true) const
 
bool flag_match (Flag f) const
 
int set_state (XMLNode const &, int)
 
XMLNodeget_state () const
 
bool operator== (PresentationInfo const &other)
 
bool operator!= (PresentationInfo const &other)
 
PresentationInfooperator= (PresentationInfo const &other)
 
- 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
 

Static Public Member Functions

static Flag get_flags (XMLNode const &node)
 
static Flag get_flags2X3X (XMLNode const &node)
 
static void send_static_change (const PBD::PropertyChange &)
 
static void make_property_quarks ()
 

Static Public Attributes

static const Flag AllStripables
 
static const Flag MixerStripables
 
static const Flag AllRoutes
 
static const Flag MixerRoutes
 
static const Flag Route
 
static const Flag Track
 
static const Flag Bus
 
static const Flag MidiIndicatingFlags
 
static const order_t max_order
 
static std::string state_node_name
 
static PBD::Signal< void(PBD::PropertyChange const &)> Change
 
- Static Public Attributes inherited from PBD::Stateful
static int current_state_version
 
static int loading_state_version
 

Protected Member Functions

void set_order (order_t order)
 
- 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
 

Static Protected Member Functions

static void suspend_change_signal ()
 
static void unsuspend_change_signal ()
 

Private Attributes

order_t _order
 
Flag _flags
 
color_t _color
 
int _selection_cnt
 

Static Private Attributes

static PBD::PropertyChange _pending_static_changes
 
static Glib::Threads::Mutex static_signal_lock
 
static std::atomic< int > _change_signal_suspended
 
static int selection_counter
 

Friends

class ChangeSuspender
 
class Stripable
 

Additional Inherited Members

- Public Attributes inherited from PBD::Stateful
PBD::Signal< void(const PropertyChange &)> PropertyChanged
 
- 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
 

Detailed Description

Definition at line 48 of file presentation_info.h.

Member Typedef Documentation

◆ color_t

Definition at line 162 of file presentation_info.h.

◆ order_t

Definition at line 161 of file presentation_info.h.

Member Enumeration Documentation

◆ Flag

Enumerator
AudioTrack 
MidiTrack 
AudioBus 
MidiBus 
VCA 
MasterOut 
MonitorOut 
Auditioner 
Hidden 
OrderSet 
FoldbackBus 
TriggerTrack 
SurroundMaster 
StatusMask 
MainBus 
Singleton 
TypeMask 

Definition at line 105 of file presentation_info.h.

Constructor & Destructor Documentation

◆ PresentationInfo() [1/3]

ARDOUR::PresentationInfo::PresentationInfo ( Flag  f)

◆ PresentationInfo() [2/3]

ARDOUR::PresentationInfo::PresentationInfo ( order_t  o,
Flag  f 
)

◆ PresentationInfo() [3/3]

ARDOUR::PresentationInfo::PresentationInfo ( PresentationInfo const &  )

Member Function Documentation

◆ color()

color_t ARDOUR::PresentationInfo::color ( ) const
inline

Definition at line 172 of file presentation_info.h.

◆ color_set()

bool ARDOUR::PresentationInfo::color_set ( ) const

◆ flag_match()

bool ARDOUR::PresentationInfo::flag_match ( Flag  f) const
inline

Definition at line 189 of file presentation_info.h.

◆ flags()

PresentationInfo::Flag ARDOUR::PresentationInfo::flags ( ) const
inline

Definition at line 170 of file presentation_info.h.

◆ get_flags()

static Flag ARDOUR::PresentationInfo::get_flags ( XMLNode const &  node)
static

◆ get_flags2X3X()

static Flag ARDOUR::PresentationInfo::get_flags2X3X ( XMLNode const &  node)
static

◆ get_state()

XMLNode& ARDOUR::PresentationInfo::get_state ( ) const
virtual

Implements PBD::Stateful.

◆ hidden()

bool ARDOUR::PresentationInfo::hidden ( ) const
inline

Definition at line 185 of file presentation_info.h.

◆ make_property_quarks()

static void ARDOUR::PresentationInfo::make_property_quarks ( )
static

◆ operator!=()

bool ARDOUR::PresentationInfo::operator!= ( PresentationInfo const &  other)
inline

Definition at line 250 of file presentation_info.h.

◆ operator=()

PresentationInfo& ARDOUR::PresentationInfo::operator= ( PresentationInfo const &  other)

◆ operator==()

bool ARDOUR::PresentationInfo::operator== ( PresentationInfo const &  other)
inline

Definition at line 246 of file presentation_info.h.

◆ order()

order_t ARDOUR::PresentationInfo::order ( ) const
inline

Definition at line 171 of file presentation_info.h.

◆ order_set()

bool ARDOUR::PresentationInfo::order_set ( ) const
inline

Definition at line 181 of file presentation_info.h.

◆ selection_cnt()

int ARDOUR::PresentationInfo::selection_cnt ( ) const
inline

Definition at line 183 of file presentation_info.h.

◆ send_static_change()

static void ARDOUR::PresentationInfo::send_static_change ( const PBD::PropertyChange )
static

◆ set_color()

void ARDOUR::PresentationInfo::set_color ( color_t  )

◆ set_flags()

void ARDOUR::PresentationInfo::set_flags ( Flag  f)
inline

Definition at line 179 of file presentation_info.h.

◆ set_hidden()

void ARDOUR::PresentationInfo::set_hidden ( bool  yn)

◆ set_order()

void ARDOUR::PresentationInfo::set_order ( order_t  order)
protected

◆ set_state()

int ARDOUR::PresentationInfo::set_state ( XMLNode const &  ,
int   
)
virtual

Implements PBD::Stateful.

◆ set_trigger_track()

void ARDOUR::PresentationInfo::set_trigger_track ( bool  yn)

◆ special()

bool ARDOUR::PresentationInfo::special ( bool  with_master = true) const
inline

Definition at line 187 of file presentation_info.h.

◆ suspend_change_signal()

static void ARDOUR::PresentationInfo::suspend_change_signal ( )
staticprotected

◆ trigger_track()

bool ARDOUR::PresentationInfo::trigger_track ( ) const
inline

Definition at line 186 of file presentation_info.h.

◆ unsuspend_change_signal()

static void ARDOUR::PresentationInfo::unsuspend_change_signal ( )
staticprotected

Friends And Related Function Documentation

◆ ChangeSuspender

friend class ChangeSuspender
friend

Definition at line 269 of file presentation_info.h.

◆ Stripable

friend class Stripable
friend

Definition at line 285 of file presentation_info.h.

Member Data Documentation

◆ _change_signal_suspended

std::atomic<int> ARDOUR::PresentationInfo::_change_signal_suspended
staticprivate

Definition at line 296 of file presentation_info.h.

◆ _color

color_t ARDOUR::PresentationInfo::_color
private

Definition at line 291 of file presentation_info.h.

◆ _flags

Flag ARDOUR::PresentationInfo::_flags
private

Definition at line 290 of file presentation_info.h.

◆ _order

order_t ARDOUR::PresentationInfo::_order
private

Definition at line 289 of file presentation_info.h.

◆ _pending_static_changes

PBD::PropertyChange ARDOUR::PresentationInfo::_pending_static_changes
staticprivate

Definition at line 294 of file presentation_info.h.

◆ _selection_cnt

int ARDOUR::PresentationInfo::_selection_cnt
private

Definition at line 292 of file presentation_info.h.

◆ AllRoutes

const Flag ARDOUR::PresentationInfo::AllRoutes
static

Definition at line 154 of file presentation_info.h.

◆ AllStripables

const Flag ARDOUR::PresentationInfo::AllStripables
static

Definition at line 152 of file presentation_info.h.

◆ Bus

const Flag ARDOUR::PresentationInfo::Bus
static

Definition at line 158 of file presentation_info.h.

◆ Change

PBD::Signal<void(PBD::PropertyChange const &)> ARDOUR::PresentationInfo::Change
static

Definition at line 263 of file presentation_info.h.

◆ max_order

const order_t ARDOUR::PresentationInfo::max_order
static

Definition at line 168 of file presentation_info.h.

◆ MidiIndicatingFlags

const Flag ARDOUR::PresentationInfo::MidiIndicatingFlags
static

Definition at line 159 of file presentation_info.h.

◆ MixerRoutes

const Flag ARDOUR::PresentationInfo::MixerRoutes
static

Definition at line 155 of file presentation_info.h.

◆ MixerStripables

const Flag ARDOUR::PresentationInfo::MixerStripables
static

Definition at line 153 of file presentation_info.h.

◆ Route

const Flag ARDOUR::PresentationInfo::Route
static

Definition at line 156 of file presentation_info.h.

◆ selection_counter

int ARDOUR::PresentationInfo::selection_counter
staticprivate

Definition at line 298 of file presentation_info.h.

◆ state_node_name

std::string ARDOUR::PresentationInfo::state_node_name
static

Definition at line 258 of file presentation_info.h.

◆ static_signal_lock

Glib::Threads::Mutex ARDOUR::PresentationInfo::static_signal_lock
staticprivate

Definition at line 295 of file presentation_info.h.

◆ Track

const Flag ARDOUR::PresentationInfo::Track
static

Definition at line 157 of file presentation_info.h.


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