#include <parameter_port_base.hpp>
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.
Deleted copy constructor to prevent copy construction.
Deleted move constructor to prevent copy construction.
visr::ParameterPortBase::~ParameterPortBase |
( |
| ) |
|
|
virtual |
@ TODO: Do we intend to use parameter ports in a virtual way? Obviously yes.
Check whether the port is connected to a valid protocol.
Deleted assignment operator to prevent assignment.
Deleted move assignment operator to prevent moving.
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. |
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< pml::SharedDataProtocol, pml::MatrixParameter< SampleType > >, visr::ParameterOutput< pml::MessageQueueProtocol, visr::pml::IndexedValueParameter >, visr::ParameterOutput< pml::SharedDataProtocol, pml::MatrixParameter< CoefficientType > >, visr::ParameterOutput< pml::DoubleBufferingProtocol, pml::BiquadParameterMatrix< SampleType > >, visr::ParameterOutput< pml::DoubleBufferingProtocol, pml::SignalRoutingParameter >, visr::ParameterOutput< pml::DoubleBufferingProtocol, pml::ListenerPosition >, visr::ParameterOutput< pml::SharedDataProtocol, pml::TimeFrequencyParameter< SampleType > >, visr::ParameterOutput< pml::DoubleBufferingProtocol, pml::VectorParameter< CoefficientType > >, visr::ParameterOutput< pml::DoubleBufferingProtocol, pml::VectorParameter< SampleType > >, visr::ParameterOutput< pml::DoubleBufferingProtocol, pml::VectorParameter< Afloat > >, visr::ParameterOutput< pml::DoubleBufferingProtocol, pml::BiquadParameterMatrix< CoefficientType > >, visr::ParameterOutput< pml::DoubleBufferingProtocol, pml::ObjectVector >, visr::ParameterOutput< pml::MessageQueueProtocol, pml::StringParameter >, visr::ParameterOutput< pml::MessageQueueProtocol, visr::reverbobject::LateReverbParameter >, visr::ParameterInput< ProtocolT, ParameterT >, visr::ParameterInput< pml::SharedDataProtocol, pml::MatrixParameter< SampleType > >, visr::ParameterInput< pml::DoubleBufferingProtocol, pml::ListenerPosition >, visr::ParameterInput< pml::SharedDataProtocol, pml::TimeFrequencyParameter< SampleType > >, visr::ParameterInput< pml::DoubleBufferingProtocol, pml::VectorParameter< SampleType > >, visr::ParameterInput< pml::SharedDataProtocol, pml::ObjectVector >, visr::ParameterInput< pml::DoubleBufferingProtocol, pml::ObjectVector >, visr::ParameterInput< pml::MessageQueueProtocol, visr::reverbobject::LateReverbParameter >, visr::ParameterInput< pml::MessageQueueProtocol, pml::StringParameter >, visr::PolymorphicParameterInput, and visr::PolymorphicParameterOutput.
The documentation for this class was generated from the following files: