|
virtual std::unique_ptr< T > | create (std::string_view key) const override |
|
virtual bool | hasKey (std::string_view key) const override |
|
| Factory (const Factory &)=delete |
|
| Factory (Factory &&)=default |
|
Factory & | operator= (const Factory &)=delete |
|
Factory & | operator= (Factory &&)=default |
|
virtual std::unique_ptr< T > | create (std::string_view key, Args... args) const=0 |
|
virtual std::shared_ptr< T > | createShared (std::string_view key, Args... args) const |
|
virtual bool | registerObject (T *obj) |
|
virtual bool | unRegisterObject (T *obj) |
|
bool | hasKey (std::string_view key) const |
|
std::vector< std::string > | getKeys () const |
|
auto | getKeyView () const |
|
T * | getFactoryObject (std::string_view key) const |
|
| Observable (const Observable< T > &other) |
|
| Observable (Observable< T > &&other) noexcept |
|
Observable< T > & | operator= (const Observable< T > &other) |
|
Observable< T > & | operator= (Observable< T > &&other) noexcept |
|
void | addObserver (T *observer) |
|
void | removeObserver (T *observer) |
|
virtual void | startBlockingNotifications () override final |
|
virtual void | stopBlockingNotifications () override final |
|
template<typename T>
class inviwo::CloningFactory< T >
A factory for cloning object The type T
needs to have a clone()
and a `getClassIdentifier()ยด function.
- Template Parameters
-
T | Models the object created. |