EPANET-RTX  1.1
real-time extension for the EPANET toolkit
Public Types | Public Member Functions | Protected Member Functions | Friends | List of all members
RTX::Node Class Reference

Node Class. More...

#include <Node.h>

Inheritance diagram for RTX::Node:
[legend]
Collaboration diagram for RTX::Node:
[legend]

Public Types

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

std::pair< double, double > coordinates ()
 
virtual void setCoordinates (double x, double y)
 
double elevation ()
 
virtual void setElevation (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 ()
 
virtual void setRecord (PointRecord::sharedPointer record)
 
std::string userDescription ()
 
void setUserDescription (const std::string &description)
 

Protected Member Functions

 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)
 

Friends

class Model
 

Detailed Description

Node Class.

A Node is a purely topological construct. It has x,y,z coordinates and references to Links.


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