#include <SurfaceNetworkBuilder.hpp>
Public Member Functions | |
Constructors and Destructors | |
SurfaceNetworkBuilder (ProgressBar *progressBar=nullptr) | |
Construct a new object. More... | |
virtual | ~SurfaceNetworkBuilder ()=default |
Destroy the translator. More... | |
Network Construction Functions | |
bool | build (model::Model &model) |
Getters and Setters | |
ProgressBar * | progressBar () const |
Returns the progress bar currently associated with the object. More... | |
void | setProgressBar (ProgressBar *progressBar) |
Sets the progress bar to be updated by the object. More... | |
Miscellaneous Functions | |
virtual void | clear () |
Clear any internally stored information in the builder object. More... | |
std::vector< LogMessage > | warnings () const |
Returns warning messages generated by the last translation. More... | |
std::vector< LogMessage > | errors () const |
Returns error messages generated by the last translation. More... | |
std::vector< LogMessage > | logMessages () const |
Returns error messages generated by the last translation. More... | |
Protected Member Functions | |
void | initProgress (int max, std::string label) |
virtual bool | linkExteriorSubSurface (model::ThermalZone zone, model::Space space, model::Surface surface, model::SubSurface subSurface) |
virtual bool | linkExteriorSurface (model::ThermalZone zone, model::Space space, model::Surface surface) |
virtual bool | linkInteriorSubSurface (model::ThermalZone zone, model::Space space, model::Surface surface, model::SubSurface subSurface, model::SubSurface adjacentSubSurface, model::Surface adjacentSurface, model::Space adjacentSpace, model::ThermalZone adjacentZone) |
virtual bool | linkInteriorSurface (model::ThermalZone zone, model::Space space, model::Surface surface, model::Surface adjacentSurface, model::Space adjacentSpace, model::ThermalZone adjacentZone) |
void | progress () |
SurfaceNetworkBuilder objects walk the OpenStudio model as a network of surfaces.
The SurfaceNetworkBuilder object walks the OpenStudio model as a network of surface, calling a different function once for each pair of interior surfaces or subsurfaces and once for each exterior surface or subsurface. The intended usage is to subclass for a specific application.
|
explicit |
Construct a new object.
|
virtualdefault |
Destroy the translator.
bool openstudio::airflow::SurfaceNetworkBuilder::build | ( | model::Model & | model | ) |
|
inlinevirtual |
Clear any internally stored information in the builder object.
std::vector<LogMessage> openstudio::airflow::SurfaceNetworkBuilder::errors | ( | ) | const |
Returns error messages generated by the last translation.
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
std::vector<LogMessage> openstudio::airflow::SurfaceNetworkBuilder::logMessages | ( | ) | const |
Returns error messages generated by the last translation.
|
protected |
ProgressBar* openstudio::airflow::SurfaceNetworkBuilder::progressBar | ( | ) | const |
Returns the progress bar currently associated with the object.
void openstudio::airflow::SurfaceNetworkBuilder::setProgressBar | ( | ProgressBar * | progressBar | ) |
Sets the progress bar to be updated by the object.
std::vector<LogMessage> openstudio::airflow::SurfaceNetworkBuilder::warnings | ( | ) | const |
Returns warning messages generated by the last translation.