![]() |
VISR
0.11.7
Versatile Interactive Scene Renderer
|
#include <parameter_factory.hpp>
Public Types | |
using | ParameterConfigType = ParameterConfigT |
Public Member Functions | |
TypedParameterBase ()=default | |
virtual | ~TypedParameterBase ()=default |
ParameterType | type () final |
std::unique_ptr< ParameterBase > | clone () const final |
void | assign (ParameterBase const &rhs) override |
![]() | |
ParameterBase () | |
ParameterBase (const ParameterBase &) | |
ParameterBase & | operator= (const ParameterBase &) |
virtual | ~ParameterBase () |
Static Public Member Functions | |
static const constexpr ParameterType | staticType () |
Base class template for parameter data with an associated parameter type id and configuration data type. This models the Curiously Recurring template pattern to provide methods as type(), clone() or a virtual assignment method in all template instantiations.
using visr::TypedParameterBase< ConcreteParameterType, ParameterConfigT, typeId >::ParameterConfigType = ParameterConfigT |
|
default |
Default constructor
|
virtualdefault |
Destructor (virtual)
|
inlineoverridevirtual |
Virtual assignment method.
rhs | The object to be copied. |
std::invalid_argument | if the type of rhs does not match this object's type. |
Implements visr::ParameterBase.
|
inlinefinalvirtual |
Clone method, i.e., virtual constructor.
Implements visr::ParameterBase.
|
inlinestatic |
Return the static type of the parameter type (not the dynamic type associated with an instance)
|
inlinefinalvirtual |
Return the dynamic parameter type of the object.
Implements visr::ParameterBase.