sisi4s
|
Class to be statically instantiated by a mixer to register it in the MixerFactory. Registered mixers can be instantiated from the sisi4s control language. More...
#include <Mixer.hpp>
Public Member Functions | |
MixerRegistrar (std::string const &name) | |
Constructs the registrating instance. The mixer type must be given as template argument, the mixer name as method argument. | |
Additional Inherited Members | |
Static Protected Member Functions inherited from sisi4s::MixerFactory< F > | |
static std::map< std::string, std::function< std::shared_ptr< Mixer< F > >(Algorithm *algorithm)> > * | getMixerMap () |
static std::shared_ptr< Mixer< F > > | create (std::string const &name, Algorithm *algorithm) |
Creates a mixer object of the mixer type specified by the given name. The instantiated mixer must be registered using the MixerRegistrar class. | |
Static Protected Attributes inherited from sisi4s::MixerFactory< F > | |
static std::map< std::string, std::function< std::shared_ptr< Mixer< F > >(Algorithm *)> > * | mixerMap |
Class to be statically instantiated by a mixer to register it in the MixerFactory. Registered mixers can be instantiated from the sisi4s control language.
|
inline |
Constructs the registrating instance. The mixer type must be given as template argument, the mixer name as method argument.