mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 11:46:25 +01:00
Move ControllableSet up in PBD's namespace
This is in preparation to supersede AutomationControlSet with a lower level generic std::set usable in any relevant context.
This commit is contained in:
parent
46b14498f8
commit
5016c950d0
2 changed files with 4 additions and 4 deletions
|
|
@ -145,7 +145,7 @@ Controllable::by_id (const ID& id)
|
||||||
return boost::shared_ptr<Controllable>();
|
return boost::shared_ptr<Controllable>();
|
||||||
}
|
}
|
||||||
|
|
||||||
Controllable::ControllableSet
|
ControllableSet
|
||||||
Controllable::registered_controllables ()
|
Controllable::registered_controllables ()
|
||||||
{
|
{
|
||||||
ControllableSet rv;
|
ControllableSet rv;
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,9 @@ class XMLNode;
|
||||||
|
|
||||||
namespace PBD {
|
namespace PBD {
|
||||||
|
|
||||||
|
class Controllable;
|
||||||
|
typedef std::set<boost::shared_ptr<Controllable>> ControllableSet;
|
||||||
|
|
||||||
/** This is a pure virtual class to represent a scalar control.
|
/** This is a pure virtual class to represent a scalar control.
|
||||||
*
|
*
|
||||||
* Note that it contains no storage/state for the controllable thing that it
|
* Note that it contains no storage/state for the controllable thing that it
|
||||||
|
|
@ -168,9 +171,6 @@ public:
|
||||||
|
|
||||||
static boost::shared_ptr<Controllable> by_id (const PBD::ID&);
|
static boost::shared_ptr<Controllable> by_id (const PBD::ID&);
|
||||||
static void dump_registry ();
|
static void dump_registry ();
|
||||||
|
|
||||||
|
|
||||||
typedef std::set<boost::shared_ptr<Controllable>> ControllableSet;
|
|
||||||
static ControllableSet registered_controllables ();
|
static ControllableSet registered_controllables ();
|
||||||
|
|
||||||
static const std::string xml_node_name;
|
static const std::string xml_node_name;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue