|
virtual | ~PropertyOwner () |
| Removes all properties and notifies its observers of the removal.
|
|
virtual void | addProperty (Property *property, bool owner=true) |
|
virtual void | addProperty (Property &property) |
|
template<typename... Ts> |
void | addProperties (Ts &... properties) |
|
virtual void | insertProperty (size_t index, Property *property, bool owner=true) |
| insert property property at position index If index is not valid, the property is appended. More...
|
|
virtual void | insertProperty (size_t index, Property &property) |
| insert property property at position index If index is not valid, the property is appended. More...
|
|
virtual Property * | removeProperty (const std::string &identifier) |
|
virtual Property * | removeProperty (Property *property) |
|
virtual Property * | removeProperty (Property &property) |
|
virtual Property * | removeProperty (size_t index) |
| remove property referred to by index More...
|
|
virtual std::vector< std::string > | getPath () const |
|
const std::vector< Property * > & | getProperties () const |
|
const std::vector< CompositeProperty * > & | getCompositeProperties () const |
|
std::vector< Property * > | getPropertiesRecursive () const |
|
Property * | getPropertyByIdentifier (const std::string &identifier, bool recursiveSearch=false) const |
|
Property * | getPropertyByPath (const std::vector< std::string > &path) const |
|
template<class T > |
std::vector< T * > | getPropertiesByType (bool recursiveSearch=false) const |
|
size_t | size () const |
|
Property * | operator[] (size_t) |
|
const Property * | operator[] (size_t) const |
|
iterator | begin () |
|
iterator | end () |
|
const_iterator | cbegin () const |
|
const_iterator | cend () const |
|
virtual bool | isValid () const |
|
virtual void | setValid () |
|
InvalidationLevel | getInvalidationLevel () const |
|
virtual void | invalidate (InvalidationLevel invalidationLevel, Property *modifiedProperty=nullptr) |
|
virtual Processor * | getProcessor () |
|
virtual const Processor * | getProcessor () const |
|
virtual void | serialize (Serializer &s) const override |
|
virtual void | deserialize (Deserializer &d) override |
|
void | setAllPropertiesCurrentStateAsDefault () |
|
void | resetAllPoperties () |
|
virtual void | invokeEvent (Event *event) override |
|
virtual InviwoApplication * | getInviwoApplication () |
|
void | notifyObserversWillAddProperty (Property *property, size_t index) |
|
void | notifyObserversDidAddProperty (Property *property, size_t index) |
|
void | notifyObserversWillRemoveProperty (Property *property, size_t index) |
|
void | notifyObserversDidRemoveProperty (Property *property, size_t index) |
|
| Observable (const Observable< PropertyOwnerObserver > &other) |
|
| Observable (Observable< PropertyOwnerObserver > &&other) |
|
Observable< PropertyOwnerObserver > & | operator= (const Observable< PropertyOwnerObserver > &other) |
|
Observable< PropertyOwnerObserver > & | operator= (Observable< PropertyOwnerObserver > &&other) |
|
void | addObserver (PropertyOwnerObserver *observer) |
|
void | removeObserver (PropertyOwnerObserver *observer) |
|
virtual void | startBlockingNotifications () override final |
|
virtual void | stopBlockingNotifications () override final |
|