#include <ComponentWatcher.hpp>
Public Member Functions | |
Constructors and Destructors | |
ComponentWatcher (ComponentData &componentData) | |
virtual | ~ComponentWatcher () |
Getters | |
ComponentData | componentData () const |
Queries | |
bool | operator== (const ComponentWatcher &other) |
bool | operator!= (const ComponentWatcher &other) |
Related Functions | |
(Note that these are not member functions.) | |
typedef std::vector < ComponentWatcher > | ComponentWatcherVector |
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 | ) |
|
inlinevirtual |
ComponentData openstudio::model::ComponentWatcher::componentData | ( | ) | const |
bool openstudio::model::ComponentWatcher::operator!= | ( | const ComponentWatcher & | other | ) |
bool openstudio::model::ComponentWatcher::operator== | ( | const ComponentWatcher & | other | ) |
|
related |