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

Public Types

enum  searchDirection_t { before, after }
 
typedef boost::shared_ptr
< RunTimeStatusModularTimeSeries
sharedPointer
 
- Public Types inherited from RTX::ModularTimeSeries
typedef boost::shared_ptr
< ModularTimeSeries
sharedPointer
 
- Public Types inherited from RTX::TimeSeries
typedef boost::shared_ptr
< TimeSeries
sharedPointer
 

Public Member Functions

void setRatioThreshold (double threshold)
 
void setTimeThreshold (double threshold)
 
void setResetCeiling (double ceiling)
 
void setResetFloor (double floor)
 
void setResetTolerance (double tolerance)
 
void setTimeErrorTolerance (double tolerance)
 
virtual Point point (time_t time)
 option to add lots of (un)ordered points all at once. More...
 
virtual Point pointBefore (time_t time)
 
virtual Point pointAfter (time_t time)
 
virtual void setClock (Clock::sharedPointer clock)
 
- Public Member Functions inherited from RTX::ModularTimeSeries
virtual TimeSeries::sharedPointer source ()
 Get the source of this time series. More...
 
virtual void setSource (TimeSeries::sharedPointer source)
 Set the upstream TimeSeries object. More...
 
virtual bool doesHaveSource ()
 Does this Modular time series have an upstream source? More...
 
virtual TimeSeries::sharedPointer rootTimeSeries ()
 
virtual std::vector< Pointpoints (time_t start, time_t end)
 Get a vector of Points within a specific time range. More...
 
virtual void setUnits (Units newUnits)
 
virtual void resetCache ()
 
virtual std::ostream & toStream (std::ostream &stream)
 
virtual bool canAlterDimension ()
 
virtual bool canAlterClock ()
 
- Public Member Functions inherited from RTX::TimeSeries
virtual void insert (Point aPoint)
 
virtual void insertPoints (std::vector< Point >)
 
virtual Point pointAtOrBefore (time_t time)
 
virtual Point interpolatedPoint (time_t time)
 
virtual std::pair< Point, PointadjacentPoints (time_t time)
 
virtual time_t period ()
 
virtual std::string name ()
 1/frequency (# seconds between data points)
 
PointRecord::sharedPointer record ()
 
TimeSeries::Statistics summary (time_t start, time_t end)
 
TimeSeries::Statistics gapsSummary (time_t start, time_t end)
 
std::vector< Pointgaps (time_t start, time_t end)
 
virtual void setName (const std::string &name)
 
void setRecord (PointRecord::sharedPointer record)
 
Clock::sharedPointer clock ()
 
Units units ()
 
void setFirstTime (time_t time)
 
void setLastTime (time_t time)
 
time_t firstTime ()
 
time_t lastTime ()
 

Additional Inherited Members

- Protected Member Functions inherited from RTX::ModularTimeSeries
virtual std::vector< PointfilteredPoints (TimeSeries::sharedPointer sourceTs, time_t fromTime, time_t toTime)
 
virtual bool isCompatibleWith (TimeSeries::sharedPointer withTimeSeries)
 

Member Function Documentation

Point RunTimeStatusModularTimeSeries::point ( time_t  time)
virtual

option to add lots of (un)ordered points all at once.

Get a Point at a specific time.

Parameters
timeThe requested time.
Returns
The requested Point, or the Point just prior to the passed time value.
See also
Point

Reimplemented from RTX::ModularTimeSeries.


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