![]() |
VISR
0.11.8
Versatile Interactive Scene Renderer
|
Public Member Functions | |
CompositeComponent (SignalFlowContext const &context, char const *name, CompositeComponent *parent=nullptr) | |
void | parameterConnection (char const *sendComponent, char const *sendPort, char const *receiveComponent, char const *receivePort) |
void | parameterConnection (ParameterPortBase &sender, ParameterPortBase &receiver) |
void | audioConnection (char const *sendComponent, char const *sendPort, ChannelList const &sendIndices, char const *receiveComponent, char const *receivePort, ChannelList const &receiveIndices) |
void | audioConnection (AudioPortBase &sendPort, ChannelList const &sendIndices, AudioPortBase &receivePort, ChannelList const &receiveIndices) |
void | audioConnection (AudioPortBase &sendPort, AudioPortBase &receivePort) |
![]() | |
CompositeComponent (SignalFlowContext const &context, char const *name, CompositeComponent *parent=nullptr) | |
~CompositeComponent () | |
std::size_t | numberOfComponents () const |
impl::CompositeComponentImplementation & | implementation () |
impl::CompositeComponentImplementation const & | implementation () const |
void | parameterConnection (char const *sendComponent, char const *sendPort, char const *receiveComponent, char const *receivePort) |
void | parameterConnection (ParameterPortBase &sender, ParameterPortBase &receiver) |
void | audioConnection (char const *sendComponent, char const *sendPort, ChannelList const &sendIndices, char const *receiveComponent, char const *receivePort, ChannelList const &receiveIndices) |
void | audioConnection (AudioPortBase &sendPort, ChannelList const &sendIndices, AudioPortBase &receivePort, ChannelList const &receiveIndices) |
void | audioConnection (AudioPortBase &sendPort, AudioPortBase &receivePort) |
![]() | |
Component (SignalFlowContext const &context, char const *componentName, CompositeComponent *parent) | |
Component (SignalFlowContext const &context, std::string const &componentName, CompositeComponent *parent) | |
Component (Component const &)=delete | |
Component (Component &&)=delete | |
Component & | operator= (Component const &)=delete |
Component & | operator= (Component &&)=delete |
virtual | ~Component () |
std::string const & | name () const |
std::string | fullName () const |
void | status (StatusMessage::Kind status, char const *message) |
template<typename ... MessageArgs> | |
void | status (StatusMessage::Kind status, MessageArgs ... args) |
bool | isComposite () const |
AudioPortBase & | audioPort (char const *portName) |
AudioPortBase const & | audioPort (char const *portName) const |
AudioPortBase & | audioPort (std::string const &portName) |
AudioPortBase const & | audioPort (std::string const &portName) const |
ParameterPortBase & | parameterPort (char const *portName) |
ParameterPortBase const & | parameterPort (char const *portName) const |
ParameterPortBase & | parameterPort (std::string const &portName) |
ParameterPortBase const & | parameterPort (std::string const &portName) const |
SamplingFrequencyType | samplingFrequency () const |
std::size_t | period () const |
bool | isTopLevel () const |
impl::ComponentImplementation & | implementation () |
impl::ComponentImplementation const & | implementation () const |
Additional Inherited Members | |
![]() | |
using | ChannelRange = visr::ChannelRange |
using | ChannelList = visr::ChannelList |
![]() | |
static const std::string & | nameSeparator () |
![]() | |
Component (impl::ComponentImplementation *impl) | |
Wrapper class to get access to the full functionality Apparently nor required anymore (and is troublesome when deducing the argument type).
void visr::CompositeComponent::audioConnection |
Register an audio connection between a sending and a receiving audio port. This overload uses C strings to denote both the names of the components holding the ports and the output ports itself. Lists of channel indices are to be specified for the sending and the receiving port. The sizes of these lists must be identical, and the contained indices must not exceed the width of the send and receive port, respectively. Empty lists for both the send and receive indices are permitted and result in no connection.
sendComponent | Name of the component holding the sending audio port. If the send port is an external input of this component, use "" or "this" |
sendPort | The name of the sending port. |
sendIndices | A list of channel indices denoting the send channels of the sending side. |
receiveComponent | Name of the component holding the receiving audio port. If the receive port is an external output of the present component, use "" or "this" |
receivePort | The name of the receiving port. |
receiveIndices | A list of channel indices denoting the receive channels within the receiver port. |
std::invalid_argument | if a specified component or port does not exist. |
void visr::CompositeComponent::audioConnection |
Register an audio connection between a sending and a receiving audio port. This overload uses audio ports (either directly referencing external in- and output of this components or retrieving ports of contained components using the Component::audioPort() method). Lists of channel indices are to be specified for the sending and the receiving port. The sizes of these lists must be identical, and the contained indices must not exceed the width of the send and receive port, respectively. Empty lists for both the send and receive indices are permitted and result in no connection.
sendPort | The send port object. |
sendIndices | A list of channel indices denoting the send channels of the sending side. |
receivePort | The receive port object. |
receiveIndices | A list of channel indices denoting the receive channels within the receiver port. |
void visr::CompositeComponent::audioConnection |
Register an audio connection between all channels of a sending and a receiving audio port. This overload uses audio ports (either directly referencing external in- and output of this components or retrieving ports of contained components using the Component::audioPort() method). It establishes one-to-one connections between the channels of the sender and the receiver.
sendPort | The send port object. |
receivePort | The receive port object. |
std::invalid_argument | if the port widths do not match. |
|
explicit |
Use base class constructors
void visr::CompositeComponent::parameterConnection |
Make protected methods available as public.
void visr::CompositeComponent::parameterConnection |
Make protected methods available as public.