31#include <dspatch/Component.h>
74 int AddComponent(
const Component::SPtr& component );
76 void RemoveComponent(
const Component::SCPtr& component );
77 void RemoveComponent(
int componentIndex );
78 void RemoveAllComponents();
80 int GetComponentCount()
const;
82 bool ConnectOutToIn(
const Component::SCPtr& fromComponent,
int fromOutput,
const Component::SCPtr& toComponent,
int toInput );
83 bool ConnectOutToIn(
const Component::SCPtr& fromComponent,
int fromOutput,
int toComponent,
int toInput );
84 bool ConnectOutToIn(
int fromComponent,
int fromOutput,
const Component::SCPtr& toComponent,
int toInput );
85 bool ConnectOutToIn(
int fromComponent,
int fromOutput,
int toComponent,
int toInput );
87 void DisconnectComponent(
const Component::SCPtr& component );
88 void DisconnectComponent(
int componentIndex );
90 void SetBufferCount(
int bufferCount );
91 int GetBufferCount()
const;
93 void Tick( Component::TickMode mode = Component::TickMode::Series );
95 void StartAutoTick( Component::TickMode mode = Component::TickMode::Series );
98 void ResumeAutoTick();
101 internal::Circuit* p;
Workspace for adding and routing components.