![]() |
VISR
0.11.8
Versatile Interactive Scene Renderer
|
#include <parameter_config_base.hpp>
Public Member Functions | |
virtual | ~ParameterConfigBase () |
virtual bool | compare (ParameterConfigBase const &rhs) const =0 |
virtual std::unique_ptr< ParameterConfigBase > | clone () const =0 |
Protected Member Functions | |
ParameterConfigBase () | |
ParameterConfigBase (ParameterConfigBase const &) | |
Base class for parameter configuration objects. A parameter configuration object adds information about the transmitted parameter objects to a parameter port or communication protocol. This information contains additional information about the parameter (e.g., the dimension of the matrix), but not the type itself. Each parameter class is associated with a specific parameter configuration type, but the same parameter configuration class can be potentially used by multiple parameter classes. Parameter configuration objects are used by the runtime system to check compatibility of parameter connections, and to construct parameter objects.
|
protecteddefault |
Default constructor. This constructor is protected because only derived classes can be instantiated.
|
protecteddefault |
Copy constructor. This constructor is protected because only derived classes can be instantiated.
|
virtualdefault |
Destructor (virtual). Parameter configuration objects are instantiated and managed polymorphically, therefore the destructor has to be virtual
|
pure virtual |
Clone (virtual copy construction) function. Pure virtual function, must be defined in derived types.
Implemented in visr::pml::InterpolationParameterConfig, visr::pml::MatrixParameterConfig, visr::pml::TimeFrequencyParameterConfig, visr::pml::EmptyParameterConfig, and visr::pml::VectorParameterConfig.
|
pure virtual |
Comparison function between parameter configurations. Must only be called between objects of equal dynamic type. Pure virtual function interface, must be implemented by derived parameter config types.
rhs | The parameter configuration object to compare with. |
std::invalid_argument | it the this object and rhs have nonmatching dynamic types. |
Implemented in visr::pml::InterpolationParameterConfig, visr::pml::MatrixParameterConfig, visr::pml::TimeFrequencyParameterConfig, visr::python::visr::ParameterConfigBaseWrapper, visr::pml::EmptyParameterConfig, and visr::pml::VectorParameterConfig.