#include <ChannelBufferElement.hpp>
A connection element that can store a fixed number of data samples.
Definition at line 50 of file install/include/rtt/internal/ChannelBufferElement.hpp.
typedef base::ChannelElement<T>::param_t RTT::internal::ChannelBufferElement< T >::param_t |
Reimplemented from RTT::base::ChannelElement< T >.
Definition at line 55 of file rtt/internal/ChannelBufferElement.hpp.
typedef base::ChannelElement<T>::param_t RTT::internal::ChannelBufferElement< T >::param_t |
Reimplemented from RTT::base::ChannelElement< T >.
Definition at line 55 of file install/include/rtt/internal/ChannelBufferElement.hpp.
typedef base::ChannelElement<T>::reference_t RTT::internal::ChannelBufferElement< T >::reference_t |
Reimplemented from RTT::base::ChannelElement< T >.
Definition at line 56 of file rtt/internal/ChannelBufferElement.hpp.
typedef base::ChannelElement<T>::reference_t RTT::internal::ChannelBufferElement< T >::reference_t |
Reimplemented from RTT::base::ChannelElement< T >.
Definition at line 56 of file install/include/rtt/internal/ChannelBufferElement.hpp.
typedef base::ChannelElement<T>::value_t RTT::internal::ChannelBufferElement< T >::value_t |
Reimplemented from RTT::base::ChannelElement< T >.
Definition at line 57 of file rtt/internal/ChannelBufferElement.hpp.
typedef base::ChannelElement<T>::value_t RTT::internal::ChannelBufferElement< T >::value_t |
Reimplemented from RTT::base::ChannelElement< T >.
Definition at line 57 of file install/include/rtt/internal/ChannelBufferElement.hpp.
RTT::internal::ChannelBufferElement< T >::ChannelBufferElement | ( | typename base::BufferInterface< T >::shared_ptr | buffer | ) | [inline] |
Definition at line 59 of file install/include/rtt/internal/ChannelBufferElement.hpp.
virtual RTT::internal::ChannelBufferElement< T >::~ChannelBufferElement | ( | ) | [inline, virtual] |
Definition at line 62 of file install/include/rtt/internal/ChannelBufferElement.hpp.
RTT::internal::ChannelBufferElement< T >::ChannelBufferElement | ( | typename base::BufferInterface< T >::shared_ptr | buffer | ) | [inline] |
Definition at line 59 of file rtt/internal/ChannelBufferElement.hpp.
virtual RTT::internal::ChannelBufferElement< T >::~ChannelBufferElement | ( | ) | [inline, virtual] |
Definition at line 62 of file rtt/internal/ChannelBufferElement.hpp.
virtual void RTT::internal::ChannelBufferElement< T >::clear | ( | ) | [inline, virtual] |
Removes all elements in the FIFO. After a call to clear(), read() will always return false (provided write() has not been called in the meantime).
Reimplemented from RTT::base::ChannelElementBase.
Definition at line 106 of file rtt/internal/ChannelBufferElement.hpp.
virtual void RTT::internal::ChannelBufferElement< T >::clear | ( | ) | [inline, virtual] |
Removes all elements in the FIFO. After a call to clear(), read() will always return false (provided write() has not been called in the meantime).
Reimplemented from RTT::base::ChannelElementBase.
Definition at line 106 of file install/include/rtt/internal/ChannelBufferElement.hpp.
virtual bool RTT::internal::ChannelBufferElement< T >::data_sample | ( | param_t | sample | ) | [inline, virtual] |
Provides a data sample to initialize this connection. This is used before the first write() in order to inform this connection of the size of the data. As such enough storage space can be allocated before the actual writing begins.
Reimplemented from RTT::base::ChannelElement< T >.
Definition at line 115 of file rtt/internal/ChannelBufferElement.hpp.
virtual bool RTT::internal::ChannelBufferElement< T >::data_sample | ( | param_t | sample | ) | [inline, virtual] |
Provides a data sample to initialize this connection. This is used before the first write() in order to inform this connection of the size of the data. As such enough storage space can be allocated before the actual writing begins.
Reimplemented from RTT::base::ChannelElement< T >.
Definition at line 115 of file install/include/rtt/internal/ChannelBufferElement.hpp.
virtual FlowStatus RTT::internal::ChannelBufferElement< T >::read | ( | reference_t | sample, | |
bool | copy_old_data | |||
) | [inline, virtual] |
Pops and returns the first element of the FIFO
Reimplemented from RTT::base::ChannelElement< T >.
Definition at line 83 of file rtt/internal/ChannelBufferElement.hpp.
virtual FlowStatus RTT::internal::ChannelBufferElement< T >::read | ( | reference_t | sample, | |
bool | copy_old_data | |||
) | [inline, virtual] |
Pops and returns the first element of the FIFO
Reimplemented from RTT::base::ChannelElement< T >.
Definition at line 83 of file install/include/rtt/internal/ChannelBufferElement.hpp.
virtual bool RTT::internal::ChannelBufferElement< T >::write | ( | param_t | sample | ) | [inline, virtual] |
Appends a sample at the end of the FIFO
Reimplemented from RTT::base::ChannelElement< T >.
Definition at line 72 of file rtt/internal/ChannelBufferElement.hpp.
virtual bool RTT::internal::ChannelBufferElement< T >::write | ( | param_t | sample | ) | [inline, virtual] |
Appends a sample at the end of the FIFO
Reimplemented from RTT::base::ChannelElement< T >.
Definition at line 72 of file install/include/rtt/internal/ChannelBufferElement.hpp.
base::BufferInterface< T >::shared_ptr RTT::internal::ChannelBufferElement< T >::buffer [private] |
Definition at line 52 of file install/include/rtt/internal/ChannelBufferElement.hpp.
base::ChannelElement< T >::value_t * RTT::internal::ChannelBufferElement< T >::last_sample_p [private] |
Definition at line 53 of file install/include/rtt/internal/ChannelBufferElement.hpp.