21 #ifndef __libardour_presentation_info_h__
22 #define __libardour_presentation_info_h__
124 MixbusEditorHidden = 0x800,
128 FoldbackBus = 0x2000,
131 TriggerTrack = 0x4000,
134 SurroundMaster = 0x8000,
138 StatusMask = (
Hidden | MixbusEditorHidden | TriggerTrack),
144 MainBus = (MasterOut|MonitorOut|FoldbackBus|SurroundMaster),
147 Singleton = (MasterOut|MonitorOut|SurroundMaster),
188 bool special(
bool with_master =
true)
const {
return _flags & ((with_master ? MasterOut : 0)|SurroundMaster|MonitorOut|
Auditioner); }
197 if (f & StatusMask) {
199 if ((_flags & StatusMask) != (f & StatusMask)) {
206 if (f == Bus && (_flags & Bus)) {
221 if (f == AllRoutes && (_flags & AllRoutes)) {
228 if (f == AllStripables && (_flags & AllStripables)) {
241 return ((f & TypeMask) & _flags);
248 return (_order == other.
order()) && (_flags == other.
flags());
252 return (_order != other.
order()) || (_flags != other.
flags());
264 static PBD::Signal1<void,PBD::PropertyChange const &>
Change;
std::ostream & operator<<(std::ostream &o, ARDOUR::Bundle const &)
static PBD::PropertyChange _pending_static_changes
static Flag get_flags2X3X(XMLNode const &node)
static void suspend_change_signal()
void set_order(order_t order)
void set_trigger_track(bool yn)
bool trigger_track() const
static void make_property_quarks()
int set_state(XMLNode const &, int)
bool operator!=(PresentationInfo const &other)
static const Flag AllStripables
static const Flag MixerStripables
static Glib::Threads::Mutex static_signal_lock
static Flag get_flags(XMLNode const &node)
PresentationInfo(order_t o, Flag f)
static std::string state_node_name
bool flag_match(Flag f) const
static int selection_counter
static std::atomic< int > _change_signal_suspended
PresentationInfo::Flag flags() const
static void send_static_change(const PBD::PropertyChange &)
PresentationInfo(PresentationInfo const &)
bool operator==(PresentationInfo const &other)
bool special(bool with_master=true) const
static const Flag AllRoutes
XMLNode & get_state() const
static const order_t max_order
static const Flag MixerRoutes
static void unsuspend_change_signal()
static const Flag MidiIndicatingFlags
int selection_cnt() const
static PBD::Signal1< void, PBD::PropertyChange const & > Change
PBD::PropertyDescriptor< bool > hidden
PBD::PropertyDescriptor< uint32_t > order
PBD::PropertyDescriptor< bool > trigger_track
PBD::PropertyDescriptor< uint32_t > color
PBD::PropertyDescriptor< bool > selected