TwiceAsNice  2019-02-18
Friends | List of all members
Lffts::FastLoop::RingbufferImpl Class Reference

#include <LfftsFastLoop.h>

Inheritance diagram for Lffts::FastLoop::RingbufferImpl:
Inheritance graph
Collaboration diagram for Lffts::FastLoop::RingbufferImpl:
Collaboration graph

Friends

class FastLoop
 

Additional Inherited Members

- Public Types inherited from Basda::Ringbuffer< DataType >
typedef IceUtil::Handle< DataType > DataTypePtr
 
typedef std::vector< DataType > SeqDataType
 
typedef std::vector< DataType >::iterator SeqDataTypeIt
 
typedef std::vector< DataTypePtrSeqImagePtrType
 
typedef std::vector< DataRingbufferObjectDataRingbufferObjectSeq
 
typedef std::vector< DataRingbufferObject >::iterator DataRingbufferObjectSeqIt
 
typedef std::vector< DataRingbufferObject >::const_iterator DataRingbufferObjectSeqConstIt
 
typedef IceUtil::Handle< DataType > DataTypePtr
 
typedef std::vector< DataType > SeqDataType
 
typedef std::vector< DataType >::iterator SeqDataTypeIt
 
typedef std::vector< DataTypePtrSeqImagePtrType
 
typedef std::vector< DataRingbufferObjectDataRingbufferObjectSeq
 
typedef std::vector< DataRingbufferObject >::iterator DataRingbufferObjectSeqIt
 
typedef std::vector< DataRingbufferObject >::const_iterator DataRingbufferObjectSeqConstIt
 
- Public Member Functions inherited from Basda::Ringbuffer< DataType >
RingbufferRegime::State state ()
 the current state. This is one of TERMINATED, WORKING, STOP, PUASE, IDLE, TIMEOUT or ERROR More...
 
DataTypePtr getLastBuffer ()
 
size_t getLastBufferNum ()
 
RingbufferRegime::State readIdxBuffer (DataTypePtr &_data, size_t _num, const Nice::Time &_time=Nice::Time(), DeviceAsync &_async=Device::s_async)
 
RingbufferRegime::State readNumBuffer (DataTypePtr &_data, size_t _num, const Nice::Time &_time=Nice::Time(), DeviceAsync &_async=Device::s_async)
 
RingbufferRegime::State readBuffer (DataTypePtr &_data, const Nice::Time &=Nice::Time(), DeviceAsync &=Device::s_async)
 
void waitForState (RingbufferRegime::State _state, DeviceAsync &=Device::s_async)
 
bool timedWaitForState (RingbufferRegime::State _state, const Nice::Time &_timeout, DeviceAsync &=Device::s_async)
 
RingbufferRegime::State waitForStateChange (DeviceAsync &_async=Device::s_async)
 
RingbufferRegime::State timedWaitForStateChange (const Nice::Time &_timeout, DeviceAsync &_async=Device::s_async)
 
template<typename Type >
bool isSame (size_t _size, const Type &_data=Type())
 
template<typename Type >
void resize (size_t _size, const Type &_data=Type())
 
void resize (size_t _size, const DataType &_data=DataType())
 
size_t size ()
 
RingbufferRegime::State state ()
 the current state. This is one of TERMINATED, WORKING, STOP, PUASE, IDLE, TIMEOUT or ERROR More...
 
DataTypePtr getLastBuffer ()
 
size_t getLastBufferNum ()
 
RingbufferRegime::State readIdxBuffer (DataTypePtr &_data, size_t _num, const Nice::Time &_time=Nice::Time(), DeviceAsync &_async=Device::s_async)
 
RingbufferRegime::State readNumBuffer (DataTypePtr &_data, size_t _num, const Nice::Time &_time=Nice::Time(), DeviceAsync &_async=Device::s_async)
 
RingbufferRegime::State readBuffer (DataTypePtr &_data, const Nice::Time &=Nice::Time(), DeviceAsync &=Device::s_async)
 
void waitForState (RingbufferRegime::State _state, DeviceAsync &=Device::s_async)
 
bool timedWaitForState (RingbufferRegime::State _state, const Nice::Time &_timeout, DeviceAsync &=Device::s_async)
 
RingbufferRegime::State waitForStateChange (DeviceAsync &_async=Device::s_async)
 
RingbufferRegime::State timedWaitForStateChange (const Nice::Time &_timeout, DeviceAsync &_async=Device::s_async)
 
template<typename Type >
bool isSame (size_t _size, const Type &_data=Type())
 
template<typename Type >
void resize (size_t _size, const Type &_data=Type())
 
void resize (size_t _size, const DataType &_data=DataType())
 
size_t size ()
 
RingbufferRegime::State state ()
 
 Ringbuffer ()
 
 ~Ringbuffer ()
 
void notifyAll ()
 
void terminate ()
 
void setState (RingbufferRegime::State _state)
 
size_t seqId ()
 
DataTypePtr lastBuffer ()
 
DataTypePtr currentBuffer ()
 
DataTypePtr nextBuffer ()
 
const DataTypePtrgetNumBuffer (size_t _num)
 
RingbufferRegime::State readNumBuffer (DataTypePtr &_data, size_t _num, const Nice::Time &_time=Nice::Time(), DeviceAsync &_async=Device::s_async)
 
RingbufferRegime::State readBuffer (DataTypePtr &_data, const Nice::Time &_time=Nice::Time(), DeviceAsync &_async=Device::s_async)
 
RingbufferRegime::State waitIfState (RingbufferRegime::State _state, DeviceAsync &_async=Device::s_async)
 
RingbufferRegime::State waitForStateChange (DeviceAsync &_async=Device::s_async)
 
RingbufferRegime::State timedWaitForStateChange (const Nice::Time &_time, DeviceAsync &_async=Device::s_async)
 
void resize (size_t _size, const DataType &_data=DataType())
 
void init (size_t _size, const DataType &_data=DataType())
 
size_t size ()
 
RingbufferRegime::State state ()
 
 Ringbuffer ()
 
 ~Ringbuffer ()
 
void notifyAll ()
 
void terminate ()
 
void setState (RingbufferRegime::State _state)
 
size_t seqId ()
 
DataTypePtr lastBuffer ()
 
DataTypePtr currentBuffer ()
 
DataTypePtr nextBuffer ()
 
const DataTypePtrgetNumBuffer (size_t _num)
 
RingbufferRegime::State readNumBuffer (DataTypePtr &_data, size_t _num, const Nice::Time &_time=Nice::Time(), DeviceAsync &_async=Device::s_async)
 
RingbufferRegime::State readBuffer (DataTypePtr &_data, const Nice::Time &_time=Nice::Time(), DeviceAsync &_async=Device::s_async)
 
RingbufferRegime::State waitIfState (RingbufferRegime::State _state, DeviceAsync &_async=Device::s_async)
 
RingbufferRegime::State waitForStateChange (DeviceAsync &_async=Device::s_async)
 
RingbufferRegime::State timedWaitForStateChange (const Nice::Time &_time, DeviceAsync &_async=Device::s_async)
 
void resize (size_t _size, const DataType &_data=DataType())
 
void init (size_t _size, const DataType &_data=DataType())
 
size_t size ()
 
- Public Attributes inherited from Basda::Ringbuffer< DataType >
size_t m_seqId
 
- Protected Types inherited from Basda::Ringbuffer< DataType >
typedef IceUtil::Handle< DataType > DataTypePtr
 
typedef std::vector< DataType > SeqDataType
 
typedef std::vector< DataType >::iterator SeqDataTypeIt
 
typedef std::vector< DataTypePtrSeqImagePtrType
 
typedef std::vector< DataTypePtrDataRingbufferObjectSeq
 
typedef std::vector< DataTypePtr >::iterator DataRingbufferObjectSeqIt
 
typedef std::vector< DataTypePtr >::const_iterator DataRingbufferObjectSeqConstIt
 
typedef IceUtil::Handle< DataType > DataTypePtr
 
typedef std::vector< DataType > SeqDataType
 
typedef std::vector< DataType >::iterator SeqDataTypeIt
 
typedef std::vector< DataTypePtrSeqImagePtrType
 
typedef std::vector< DataTypePtrDataRingbufferObjectSeq
 
typedef std::vector< DataTypePtr >::iterator DataRingbufferObjectSeqIt
 
typedef std::vector< DataTypePtr >::const_iterator DataRingbufferObjectSeqConstIt
 
- Protected Member Functions inherited from Basda::Ringbuffer< DataType >
 Ringbuffer ()
 default ctor. Generates a ring buffer of zero size in the IDLE state. More...
 
 ~Ringbuffer ()
 dtor. Does nothing. More...
 
void notifyAll ()
 
void terminate ()
 
void setState (RingbufferRegime::State _state)
 
size_t seqId ()
 retreive the sequential ID. More...
 
DataTypePtr lastBuffer ()
 
const DataTypePtrcurrentBuffer ()
 
void setCurrentBuffer (const DataTypePtr &_buffer)
 
DataTypePtrnextBuffer ()
 
 Ringbuffer ()
 default ctor. Generates a ring buffer of zero size in the IDLE state. More...
 
 ~Ringbuffer ()
 dtor. Does nothing. More...
 
void notifyAll ()
 
void terminate ()
 
void setState (RingbufferRegime::State _state)
 
size_t seqId ()
 retreive the sequential ID. More...
 
DataTypePtr lastBuffer ()
 
const DataTypePtrcurrentBuffer ()
 
void setCurrentBuffer (const DataTypePtr &_buffer)
 
DataTypePtrnextBuffer ()
 
- Protected Attributes inherited from Basda::Ringbuffer< DataType >
DataRingbufferObjectSeq m_ring
 
DataRingbufferObjectSeqIt m_currentBuffer
 
DataRingbufferObjectSeqIt m_lastBuffer
 
size_t m_currentSeqId
 
size_t m_size
 
Nice::Monitor m_readerMonitor
 
RingbufferRegime::State m_state
 

Friends And Related Function Documentation

◆ FastLoop

friend class FastLoop
friend

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