MIRA
|
An object that allows read access to a whole interval of channel data. More...
#include <fw/ChannelReadInterval.h>
Classes | |
class | const_iterator |
Const iterator for iterating over the interval. More... | |
Public Types | |
typedef std::list< ChannelRead< T > > | IntervalList |
typedef const_iterator | iterator |
Public Member Functions | |
const_iterator | begin () const |
const_iterator | end () const |
std::size_t | size () const |
bool | empty () const |
ChannelReadInterval () | |
Constructs an empty interval. More... | |
ChannelReadInterval (ChannelTypePtr channel, std::list< ChannelBufferBase::Slot *> &slotList) | |
Constructs an interval on channel with given range. More... | |
void | finish () |
const std::string & | getChannelID () |
std::string | getTypename () const |
TypeMetaPtr | getTypeMeta () const |
Channel< T > | getChannel () |
Returns a read-only channel proxy object of the underlying channel. More... | |
An object that allows read access to a whole interval of channel data.
Use Channel::readInterval to obtain access to data of a channel.
The ChannelReadInterval contains a list of ChannelRead objects and takes care of unlocking. One can iterate over the interval using the built in iterators. It is also possible to take a single ChannelRead out of the interval and to unlock the whole interval. The single ChannelRead will still be read locked.
typedef std::list<ChannelRead<T> > IntervalList |
typedef const_iterator iterator |
|
inline |
Constructs an empty interval.
|
inline |
Constructs an interval on channel with given range.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Channel<T> getChannel | ( | ) |
Returns a read-only channel proxy object of the underlying channel.