ChannelI Class
The Channel interface gives access to the name and basic statistical information for an archived channel.
The Channel does not know about the type of archived values since those may in fact change.Interface
- Name of this channel
virtual const char *getName() const = 0;- Time stamp of first value
virtual osiTime getFirstTime() const = 0;- Time stamp of last value
virtual osiTime getLastTime() const = 0;- Move ValueIterator for current Channel to first, last, ... value
bool getFirstValue(ValueIterator &values); bool getLastValue(ValueIterator &values); virtual bool getFirstValue(ValueIteratorI *values) = 0; virtual bool getLastValue(ValueIteratorI *values) = 0;- Get value stamped >= time. time==0 results in call to getFirstValue
virtual bool getValueAfterTime(const osiTime &time, ValueIteratorI *values) = 0; bool getValueAfterTime(const osiTime &time, ValueIterator &values);- Get value stamped <= time
virtual bool getValueBeforeTime(const osiTime &time, ValueIteratorI *values) = 0; bool getValueBeforeTime(const osiTime &time, ValueIterator &values);- Get value stamped near time (whatever's next: before or after time)
virtual bool getValueNearTime(const osiTime &time, ValueIteratorI *values) = 0; bool getValueNearTime(const osiTime &time, ValueIterator &values);
IndexCreated from sources with MakeDoc Perl script.