OpenStudio:model
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Related Functions | List of all members
openstudio::model::ComponentWatcher Class Reference

#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
 

Detailed Description

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.

Constructor & Destructor Documentation

openstudio::model::ComponentWatcher::ComponentWatcher ( ComponentData componentData)
virtual openstudio::model::ComponentWatcher::~ComponentWatcher ( )
inlinevirtual

Member Function Documentation

ComponentData openstudio::model::ComponentWatcher::componentData ( ) const
bool openstudio::model::ComponentWatcher::operator!= ( const ComponentWatcher other)
bool openstudio::model::ComponentWatcher::operator== ( const ComponentWatcher other)

Friends And Related Function Documentation

typedef std::vector<ComponentWatcher> ComponentWatcherVector
related