1 #ifndef CARMA_MONITOR_MONITORPOINTITERATOR_H
2 #define CARMA_MONITOR_MONITORPOINTITERATOR_H
31 class MonitorContainer;
67 const std::vector<std::string> skip = std::vector<std::string>());
104 void checkStats(
bool throwOnProblem )
const;
119 const unsigned int maxDepth_;
124 bool hasCurrentValue_;
129 ::std::vector< StackEntry > stack_;
131 const std::vector<std::string> skip_;
149 return hasCurrentValue_;
156 if ( currentValue_ != 0 )
157 return *currentValue_;
159 return handleBadDeref();
MonitorPointIterator(const MonitorContainer &rootContainer, int maxDepth=0, const std::vector< std::string > skip=std::vector< std::string >())
Constructor.
void reset()
Reset iterator back to beginning.
MonitorPoint & getMonitorPoint() const
Get the current monitor point.
Abstract base class for a monitor point.
A generic monitor system container base class.
bool operator++()
Iterator (prefix version)
bool hasMonitorPoint() const
Test for monitor points in current state of iterator.
Iterator for monitor point hierarchy that returns monitor points.