Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
ProcessorFactory (InviwoApplication *app) | |
bool | registerObject (ProcessorFactoryObject *processor) override |
virtual std::unique_ptr< Processor > | create (std::string_view key, InviwoApplication *) const override |
virtual std::unique_ptr< Processor > | create (std::string_view key) const override |
virtual std::shared_ptr< Processor > | createShared (std::string_view key) const override |
virtual std::shared_ptr< Processor > | createShared (std::string_view key, InviwoApplication *) const override |
virtual bool | hasKey (std::string_view key) const override |
Public Member Functions inherited from inviwo::Factory< Processor, std::string_view > | |
Factory (const Factory &)=delete | |
Factory (Factory &&)=default | |
Factory & | operator= (const Factory &)=delete |
Factory & | operator= (Factory &&)=default |
virtual std::unique_ptr< Processor > | create (std::string_view key, Args... args) const=0 |
virtual std::shared_ptr< Processor > | createShared (std::string_view key, Args... args) const |
Public Member Functions inherited from inviwo::Factory< Processor, std::string_view, InviwoApplication * > | |
Factory (const Factory &)=delete | |
Factory (Factory &&)=default | |
Factory & | operator= (const Factory &)=delete |
Factory & | operator= (Factory &&)=default |
virtual std::unique_ptr< Processor > | create (std::string_view key, Args... args) const=0 |
virtual std::shared_ptr< Processor > | createShared (std::string_view key, Args... args) const |
Public Member Functions inherited from inviwo::FactoryRegister< ProcessorFactoryObject, std::string, std::string_view > | |
virtual bool | unRegisterObject (ProcessorFactoryObject *obj) |
bool | hasKey (std::string_view key) const |
std::vector< std::string > | getKeys () const |
auto | getKeyView () const |
ProcessorFactoryObject * | getFactoryObject (std::string_view key) const |
Public Member Functions inherited from inviwo::Observable< FactoryObserver< ProcessorFactoryObject > > | |
Observable (const Observable< FactoryObserver< ProcessorFactoryObject > > &other) | |
Observable (Observable< FactoryObserver< ProcessorFactoryObject > > &&other) noexcept | |
Observable< FactoryObserver< ProcessorFactoryObject > > & | operator= (const Observable< FactoryObserver< ProcessorFactoryObject > > &other) |
Observable< FactoryObserver< ProcessorFactoryObject > > & | operator= (Observable< FactoryObserver< ProcessorFactoryObject > > &&other) noexcept |
void | addObserver (FactoryObserver< ProcessorFactoryObject > *observer) |
void | removeObserver (FactoryObserver< ProcessorFactoryObject > *observer) |
virtual void | startBlockingNotifications () override final |
virtual void | stopBlockingNotifications () override final |
Public Member Functions inherited from inviwo::ObservableInterface |
Additional Inherited Members | |
Protected Member Functions inherited from inviwo::FactoryObservable< ProcessorFactoryObject > | |
void | notifyObserversOnRegister (ProcessorFactoryObject *p) |
void | notifyObserversOnUnRegister (ProcessorFactoryObject *p) |
Protected Member Functions inherited from inviwo::Observable< FactoryObserver< ProcessorFactoryObject > > | |
void | forEachObserver (C callback) |
Protected Member Functions inherited from inviwo::ObservableInterface | |
void | addObservationHelper (Observer *observer) |
void | removeObservationHelper (Observer *observer) |
Protected Attributes inherited from inviwo::FactoryRegister< ProcessorFactoryObject, std::string, std::string_view > | |
std::map< std::string, ProcessorFactoryObject *, std::less<> > | map_ |
|
overridevirtual |
Implements inviwo::Factory< Processor, std::string_view >.
|
overridevirtual |
The factory will not assume ownership over obj, although is assumes that obj will be valid for the lifetime of the factory
Reimplemented from inviwo::FactoryRegister< ProcessorFactoryObject, std::string, std::string_view >.