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

Public Member Functions

bool registerObject (DialogFactoryObject *dialog) override
Public Member Functions inherited from inviwo::StandardFactory< Dialog, DialogFactoryObject >
virtual std::unique_ptr< Dialogcreate (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... >
Factoryoperator= (const Factory &)=delete
virtual std::shared_ptr< DialogcreateShared (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
DialogFactoryObjectgetFactoryObject (std::string_view key) const
Public Member Functions inherited from inviwo::Observable< FactoryObserver< DialogFactoryObject > >
Observable< FactoryObserver< DialogFactoryObject > > & operator= (const Observable< FactoryObserver< DialogFactoryObject > > &other)
void addObserver (FactoryObserver< DialogFactoryObject > *observer)
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
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< DialogFactoryObject, factoryKeyType< std::string_view >, std::string_view >
std::map< factoryKeyType< std::string_view >, DialogFactoryObject *, std::less<> > map_

Member Function Documentation

◆ registerObject()

bool inviwo::DialogFactory::registerObject ( DialogFactoryObject * 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< DialogFactoryObject, factoryKeyType< std::string_view >, std::string_view >.


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