EPANET-RTX
1.1
real-time extension for the EPANET toolkit
|
#include <Pipe.h>
Public Types | |
enum | status_t { OPEN = true, CLOSED = false } |
typedef boost::shared_ptr< Pipe > | sharedPointer |
Public Types inherited from RTX::Link | |
enum | direction_t { outDirection, inDirection } |
typedef boost::shared_ptr< Link > | sharedPointer |
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 | |
Pipe (const std::string &name, Node::sharedPointer startNode, Node::sharedPointer endNode) | |
virtual void | setRecord (PointRecord::sharedPointer record) |
double | length () |
double | diameter () |
void | setLength (double length) |
void | setDiameter (double diameter) |
status_t | fixedStatus () |
void | setFixedStatus (status_t status) |
TimeSeries::sharedPointer | flow () |
bool | doesHaveStatusParameter () |
TimeSeries::sharedPointer | statusParameter () |
void | setStatusParameter (TimeSeries::sharedPointer status) |
bool | doesHaveSettingParameter () |
TimeSeries::sharedPointer | settingParameter () |
void | setSettingParameter (TimeSeries::sharedPointer setting) |
bool | doesHaveFlowMeasure () |
TimeSeries::sharedPointer | flowMeasure () |
void | setFlowMeasure (TimeSeries::sharedPointer flow) |
Public Member Functions inherited from RTX::Link | |
std::pair< Node::sharedPointer, Node::sharedPointer > | nodes () |
Node::sharedPointer | from () |
Node::sharedPointer | to () |
Link::direction_t | directionRelativeToNode (Node::sharedPointer node) |
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) |
Additional Inherited Members | |
Protected Member Functions inherited from RTX::Link | |
Link (const std::string &name, Node::sharedPointer startNode, Node::sharedPointer endNode) | |
Protected Member Functions inherited from RTX::Element | |
Element (const std::string &name) | |
void | setType (element_t type) |