![]() |
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... > | |
| virtual std::shared_ptr< Dialog > | createShared (std::string_view key, Args... args) const |
| Factory & | operator= (const Factory &)=delete |
| Public Member Functions inherited from inviwo::FactoryRegister< DialogFactoryObject, factoryKeyType< std::string_view >, std::string_view > | |
| DialogFactoryObject * | getFactoryObject (std::string_view key) const |
| std::vector< factoryKeyType< std::string_view > > | getKeys () const |
| auto | getKeyView () const |
| bool | hasKey (std::string_view key) const |
| virtual bool | unRegisterObject (DialogFactoryObject *obj) |
| Public Member Functions inherited from inviwo::Observable< FactoryObserver< DialogFactoryObject > > | |
| void | addObserver (FactoryObserver< DialogFactoryObject > *observer) |
| bool | isObservedBy (FactoryObserver< DialogFactoryObject > *observer) const |
| Observable< FactoryObserver< DialogFactoryObject > > & | operator= (const Observable< FactoryObserver< DialogFactoryObject > > &other) |
| void | removeObserver (FactoryObserver< DialogFactoryObject > *observer) |
| virtual void | startBlockingNotifications () override final |
| virtual void | stopBlockingNotifications () override final |
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) |
| virtual void | addObserver (Observer *observer)=0 |
| void | removeObservationHelper (Observer *observer) |
| virtual void | removeObserver (Observer *observer)=0 |
| 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 >.