EPANET-RTX  1.1
real-time extension for the EPANET toolkit
Public Types | Public Member Functions | Public Attributes | List of all members
RTX::Tank Class Reference
Inheritance diagram for RTX::Tank:
[legend]
Collaboration diagram for RTX::Tank:
[legend]

Public Types

typedef boost::shared_ptr< TanksharedPointer
 
- Public Types inherited from RTX::Junction
typedef boost::shared_ptr
< Junction
sharedPointer
 
- Public Types inherited from RTX::Node
typedef boost::shared_ptr< NodesharedPointer
 
- Public Types inherited from RTX::Element
enum  element_t {
  JUNCTION, TANK, RESERVOIR, PIPE,
  PUMP, VALVE, DMA
}
 
typedef boost::shared_ptr
< Element
sharedPointer
 

Public Member Functions

 Tank (const std::string &name)
 
void setMinMaxLevel (double minLevel, double maxLevel)
 
double minLevel ()
 
double maxLevel ()
 
void setGeometry (std::vector< std::pair< double, double > > levelVolumePoints, Units levelUnits, Units volumeUnits)
 
std::vector< std::pair< double,
double > > 
geometry ()
 
std::pair< Units, UnitsgeometryUnits ()
 
void setElevation (double elevation)
 
bool doesResetLevelUsingClock ()
 
void setLevelResetClock (Clock::sharedPointer clock)
 
Clock::sharedPointer levelResetClock ()
 
void setResetLevelNextTime (bool reset)
 
bool resetLevelNextTime ()
 
void setLevelMeasure (TimeSeries::sharedPointer level)
 
TimeSeries::sharedPointer levelMeasure ()
 
virtual void setHeadMeasure (TimeSeries::sharedPointer head)
 
TimeSeries::sharedPointer level ()
 
TimeSeries::sharedPointer volumeMeasure ()
 
TimeSeries::sharedPointer flowMeasure ()
 
- Public Member Functions inherited from RTX::Junction
 Junction (const std::string &name)
 
virtual void setRecord (PointRecord::sharedPointer record)
 
double baseDemand ()
 
void setBaseDemand (double demand)
 
double initialQuality ()
 
void setInitialQuality (double quality)
 
TimeSeries::sharedPointer head ()
 
TimeSeries::sharedPointer pressure ()
 
TimeSeries::sharedPointer demand ()
 
TimeSeries::sharedPointer quality ()
 
bool doesHaveQualitySource ()
 
TimeSeries::sharedPointer qualitySource ()
 
void setQualitySource (TimeSeries::sharedPointer quality)
 
bool doesHaveBoundaryFlow ()
 
TimeSeries::sharedPointer boundaryFlow ()
 
void setBoundaryFlow (TimeSeries::sharedPointer flow)
 
bool doesHaveHeadMeasure ()
 
TimeSeries::sharedPointer headMeasure ()
 
TimeSeries::sharedPointer pressureMeasure ()
 
virtual void setPressureMeasure (TimeSeries::sharedPointer pressure)
 
bool doesHaveQualityMeasure ()
 
TimeSeries::sharedPointer qualityMeasure ()
 
void setQualityMeasure (TimeSeries::sharedPointer quality)
 
- Public Member Functions inherited from RTX::Node
std::pair< double, double > coordinates ()
 
virtual void setCoordinates (double x, double y)
 
double elevation ()
 
std::vector< boost::shared_ptr
< Link > > 
links ()
 
- Public Member Functions inherited from RTX::Element
virtual std::ostream & toStream (std::ostream &stream)
 
element_t type ()
 
void setName (const std::string &newName)
 
std::string name ()
 
std::string userDescription ()
 
void setUserDescription (const std::string &description)
 

Public Attributes

std::string geometryName
 

Additional Inherited Members

- Protected Member Functions inherited from RTX::Node
 Node (const std::string &name)
 
void addLink (boost::shared_ptr< Link > link)
 
- Protected Member Functions inherited from RTX::Element
 Element (const std::string &name)
 
void setType (element_t type)
 

The documentation for this class was generated from the following files: