51 class Canvas :
public std::enable_shared_from_this<Canvas>{
63 std::shared_ptr<Group>
GetGroup()
const {
return group;}
75 std::set<std::shared_ptr<Module>>
modules;
99 void Connect(IOID from, IOID to);
162 std::shared_ptr<Group> group;
165 std::weak_ptr<Canvas> parent;
168 std::map<IOID, Subscription> data_connections_subscriptions;
171 void PassData(
IOID source,
float value,
float relative);
173 bool do_not_recalculate_ordering;
void DisconnectData(IOID from, IOID to)
Definition: Canvas.hpp:30
void Connect(IOID from, IOID to)
Definition: Canvas.hpp:36
Definition: Canvas.hpp:51
DataConnectionMode mode
Definition: Canvas.hpp:151
MultipleConnections(std::string t)
Definition: Canvas.hpp:31
std::shared_ptr< Group > GetGroup() const
Definition: Canvas.hpp:63
std::pair< bool, DataConnectionMode > GetDirectDataConnectionExists(IOID from, IOID to)
std::map< IOID, std::list< IOIDWithMode > > data_connections
Definition: Canvas.hpp:155
DataConnectionMode
Definition: Canvas.hpp:129
ConnectionLoop(std::string t)
Definition: Canvas.hpp:34
bool TestNewConnectionForLoop(IOID from, IOID to)
std::set< std::shared_ptr< Module > > modules
Definition: Canvas.hpp:75
DoubleConnection(std::string t)
Definition: Canvas.hpp:37
Definition: Canvas.hpp:85
std::shared_ptr< Module::Inlet > GetInletByIOID(IOID) const
LateReturn< std::shared_ptr< Module > > CreateModule(std::string id)
std::list< std::shared_ptr< Module > > GetConnectedModules(std::shared_ptr< Module > m)
Definition: Alertable.hpp:26
Definition: Canvas.hpp:149
std::map< IOID, std::list< IOID > > audio_connections
Definition: Canvas.hpp:125
bool operator==(const IOIDWithMode &other) const
Definition: Canvas.hpp:152
IOID ioid
Definition: Canvas.hpp:150
std::shared_ptr< Module::Outlet > GetOutletByIOID(IOID) const
void Disconnect(IOID from, IOID to)
void ConnectData(IOID from, IOID to, DataConnectionMode m)
bool operator<(const IOID &other) const
Definition: Canvas.hpp:88
std::shared_ptr< Module > owner_hint
Definition: Canvas.hpp:79
void BlockReordering(bool enable)
Definition: LateReturn.hpp:35
std::string iolet
Definition: Canvas.hpp:87
bool operator==(const IOID &other) const
Definition: Canvas.hpp:89
Definition: Exception.hpp:29
static LateReturn< std::shared_ptr< Canvas > > CreateEmpty(std::shared_ptr< Canvas > parent)
bool GetDirectAudioConnectionExists(IOID from, IOID to)
void RemoveModule(std::shared_ptr< Module >)
std::shared_ptr< Module > module
Definition: Canvas.hpp:86
Definition: Canvas.hpp:33