#include <parameter_port_base.hpp>
◆ Direction
Temporary solution, as PortBase is going to vanish. @ todo: Decide whether we need a global enumerarion for port directions, or whether the 'direction' parameter can be hidden from the user API.
◆ ParameterPortBase() [1/4]
◆ ParameterPortBase() [2/4]
◆ ParameterPortBase() [3/4]
Deleted copy constructor to prevent copy construction.
◆ ParameterPortBase() [4/4]
Deleted move constructor to prevent copy construction.
◆ ~ParameterPortBase()
visr::ParameterPortBase::~ParameterPortBase |
( |
| ) |
|
|
virtual |
@ TODO: Do we intend to use parameter ports in a virtual way? Obviously yes.
◆ implementation() [1/2]
Check whether the port is connected to a valid protocol.
◆ implementation() [2/2]
◆ operator=() [1/2]
Deleted assignment operator to prevent assignment.
◆ operator=() [2/2]
Deleted move assignment operator to prevent moving.
◆ parameterConfig()
◆ parameterType()
◆ protocolType()
◆ setParameterConfig()
void visr::ParameterPortBase::setParameterConfig |
( |
ParameterConfigBase const & |
parameterConfig | ) |
|
Set a new parameter configuration. If a configuration is already set, it is overwritten. Must be called only during the initialisation phase
- Parameters
-
parameterConfig | The new parameter configuration. |
- Exceptions
-
std::runtime_error | When called after the signal flow is initialised. |
◆ setProtocol()
Type-specific method to check and set the connected protocol.
- Todo:
- Reconsider interface.
- Exceptions
-
std::invalid_argument | if the protocol type does not match the concrete port type. At the moment, we use RTTI as the final check. |
Implemented in visr::ParameterOutput< ProtocolT, ParameterT >, visr::ParameterOutput< visr::pml::SharedDataProtocol, visr::pml::TimeFrequencyParameter< SampleType > >, visr::ParameterOutput< visr::pml::DoubleBufferingProtocol, visr::pml::SignalRoutingParameter >, visr::ParameterOutput< visr::pml::DoubleBufferingProtocol, visr::pml::VectorParameter< SampleType > >, visr::ParameterOutput< visr::pml::DoubleBufferingProtocol, visr::pml::ObjectVector >, visr::ParameterOutput< visr::pml::DoubleBufferingProtocol, visr::pml::BiquadParameterMatrix< SampleType > >, visr::ParameterOutput< visr::pml::DoubleBufferingProtocol, visr::pml::ListenerPosition >, visr::ParameterOutput< visr::pml::MessageQueueProtocol, visr::pml::IndexedValueParameter >, visr::ParameterOutput< visr::pml::DoubleBufferingProtocol, visr::pml::BiquadParameterMatrix< CoefficientType > >, visr::ParameterOutput< visr::pml::SharedDataProtocol, visr::pml::MatrixParameter< SampleType > >, visr::ParameterOutput< visr::pml::DoubleBufferingProtocol, visr::pml::VectorParameter< CoefficientType > >, visr::ParameterOutput< visr::pml::MessageQueueProtocol, visr::reverbobject::LateReverbParameter >, visr::ParameterOutput< visr::pml::SharedDataProtocol, visr::pml::MatrixParameter< CoefficientType > >, visr::ParameterOutput< visr::pml::MessageQueueProtocol, visr::pml::StringParameter >, visr::ParameterOutput< visr::pml::DoubleBufferingProtocol, visr::pml::VectorParameter< Afloat > >, visr::ParameterInput< ProtocolT, ParameterT >, visr::ParameterInput< visr::pml::SharedDataProtocol, visr::pml::ObjectVector >, visr::ParameterInput< visr::pml::SharedDataProtocol, visr::pml::TimeFrequencyParameter< SampleType > >, visr::ParameterInput< visr::pml::DoubleBufferingProtocol, visr::pml::VectorParameter< SampleType > >, visr::ParameterInput< visr::pml::DoubleBufferingProtocol, visr::pml::ObjectVector >, visr::ParameterInput< visr::pml::DoubleBufferingProtocol, visr::pml::ListenerPosition >, visr::ParameterInput< visr::pml::SharedDataProtocol, visr::pml::MatrixParameter< SampleType > >, visr::ParameterInput< visr::pml::MessageQueueProtocol, visr::reverbobject::LateReverbParameter >, visr::ParameterInput< visr::pml::MessageQueueProtocol, visr::pml::StringParameter >, visr::PolymorphicParameterInput, and visr::PolymorphicParameterOutput.
The documentation for this class was generated from the following files: