Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::ProcessorFactory Class Reference
Inheritance diagram for inviwo::ProcessorFactory:

Public Member Functions

 ProcessorFactory (InviwoApplication *app)
bool registerObject (ProcessorFactoryObject *processor) override
virtual std::unique_ptr< Processorcreate (std::string_view key, InviwoApplication *) const override
virtual std::unique_ptr< Processorcreate (std::string_view key) const override
virtual std::shared_ptr< ProcessorcreateShared (std::string_view key) const override
virtual std::shared_ptr< ProcessorcreateShared (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 >
Factoryoperator= (const Factory &)=delete
virtual std::unique_ptr< Processorcreate (std::string_view key, Args... args) const=0
virtual std::shared_ptr< ProcessorcreateShared (std::string_view key, Args... args) const
Public Member Functions inherited from inviwo::Factory< Processor, std::string_view, InviwoApplication * >
Factoryoperator= (const Factory &)=delete
virtual std::unique_ptr< Processorcreate (std::string_view key, Args... args) const=0
virtual std::shared_ptr< ProcessorcreateShared (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
ProcessorFactoryObjectgetFactoryObject (std::string_view key) const
Public Member Functions inherited from inviwo::Observable< FactoryObserver< T > >
Observable< T > & operator= (const Observable< T > &other)
void addObserver (T *observer)
void removeObserver (T *observer)
virtual void startBlockingNotifications () override final
virtual void stopBlockingNotifications () override final

Additional Inherited Members

Protected Member Functions inherited from inviwo::FactoryObservable< T >
void notifyObserversOnRegister (T *p)
void notifyObserversOnUnRegister (T *p)
Protected Member Functions inherited from inviwo::Observable< FactoryObserver< T > >
void forEachObserver (C callback)
Protected Member Functions inherited from inviwo::ObservableInterface
virtual void addObserver (Observer *observer)=0
virtual void removeObserver (Observer *observer)=0
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_

Member Function Documentation

◆ hasKey()

virtual bool inviwo::ProcessorFactory::hasKey ( std::string_view key) const
overridevirtual

◆ registerObject()

bool inviwo::ProcessorFactory::registerObject ( ProcessorFactoryObject * obj)
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 >.


The documentation for this class was generated from the following file:
  • processorfactory.h