Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
bool | registerObject (DialogFactoryObject *dialog) override |
Public Member Functions inherited from inviwo::StandardFactory< Dialog, DialogFactoryObject > | |
virtual std::unique_ptr< Dialog > | create (std::string_view key, Args... args) const override |
virtual bool | hasKey (std::string_view key) const override |
Public Member Functions inherited from inviwo::Factory< Dialog, std::string_view, Args... > | |
Factory (const Factory &)=delete | |
Factory (Factory &&)=default | |
Factory & | operator= (const Factory &)=delete |
Factory & | operator= (Factory &&)=default |
virtual std::shared_ptr< Dialog > | createShared (std::string_view key, Args... args) const |
Public Member Functions inherited from inviwo::FactoryRegister< DialogFactoryObject, factoryKeyType< std::string_view >, std::string_view > | |
virtual bool | unRegisterObject (DialogFactoryObject *obj) |
bool | hasKey (std::string_view key) const |
std::vector< factoryKeyType< std::string_view > > | getKeys () const |
auto | getKeyView () const |
DialogFactoryObject * | getFactoryObject (std::string_view key) const |
Public Member Functions inherited from inviwo::Observable< FactoryObserver< DialogFactoryObject > > | |
Observable (const Observable< FactoryObserver< DialogFactoryObject > > &other) | |
Observable (Observable< FactoryObserver< DialogFactoryObject > > &&other) noexcept | |
Observable< FactoryObserver< DialogFactoryObject > > & | operator= (const Observable< FactoryObserver< DialogFactoryObject > > &other) |
Observable< FactoryObserver< DialogFactoryObject > > & | operator= (Observable< FactoryObserver< DialogFactoryObject > > &&other) noexcept |
void | addObserver (FactoryObserver< DialogFactoryObject > *observer) |
void | removeObserver (FactoryObserver< DialogFactoryObject > *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< DialogFactoryObject > | |
void | notifyObserversOnRegister (DialogFactoryObject *p) |
void | notifyObserversOnUnRegister (DialogFactoryObject *p) |
Protected Member Functions inherited from inviwo::Observable< FactoryObserver< DialogFactoryObject > > | |
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< DialogFactoryObject, factoryKeyType< std::string_view >, std::string_view > | |
std::map< factoryKeyType< std::string_view >, DialogFactoryObject *, std::less<> > | map_ |
|
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< DialogFactoryObject, factoryKeyType< std::string_view >, std::string_view >.