#include <ComponentWatcher.hpp>
Public Member Functions | |
Constructors and Destructors | |
ComponentWatcher (ComponentData &componentData) | |
virtual | ~ComponentWatcher ()=default |
ComponentWatcher (const ComponentWatcher &other)=default | |
ComponentWatcher (ComponentWatcher &&other)=default | |
ComponentWatcher & | operator= (const ComponentWatcher &)=default |
ComponentWatcher & | operator= (ComponentWatcher &&)=default |
Getters | |
ComponentData | componentData () const |
Queries | |
bool | operator== (const ComponentWatcher &other) |
bool | operator!= (const ComponentWatcher &other) |
Related Functions | |
(Note that these are not member functions.) | |
using | ComponentWatcherVector = std::vector< ComponentWatcher > |
ComponentWatcher uses signals and slots to monitor the data associated with a Component.
ComponentWatchers are constructed by Models and Components. They are not for general (public) use. If data changes, ComponentWatcher calls componentData.createVersionUUID. The Component is destroyed (ComponentData is removed from the model) if the user removes ComponentData or the primary object, or if the relationship between objects in the component changes.
openstudio::model::ComponentWatcher::ComponentWatcher | ( | ComponentData & | componentData | ) |
|
virtualdefault |
|
default |
|
default |
ComponentData openstudio::model::ComponentWatcher::componentData | ( | ) | const |
bool openstudio::model::ComponentWatcher::operator!= | ( | const ComponentWatcher & | other | ) |
|
default |
|
default |
bool openstudio::model::ComponentWatcher::operator== | ( | const ComponentWatcher & | other | ) |
|
related |