|
|
virtual std::unique_ptr< T > | create (std::string_view key) const override |
| |
| virtual bool | hasKey (std::string_view key) const override |
| |
|
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 |
| |
|
| Factory (const Factory &)=delete |
| |
|
| Factory (Factory &&)=default |
| |
|
Factory & | operator= (const Factory &)=delete |
| |
|
Factory & | operator= (Factory &&)=default |
| |
|
T * | getFactoryObject (std::string_view key) const |
| |
|
std::vector< std::string > | getKeys () const |
| |
|
auto | getKeyView () const |
| |
|
auto | getValueView () const |
| |
|
bool | hasKey (std::string_view key) const |
| |
| virtual bool | registerObject (T *obj) |
| |
|
virtual bool | unRegisterObject (T *obj) |
| |
|
void | addObserver (T *observer) |
| |
|
bool | isObservedBy (T *observer) 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 | 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. |