Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
FrameContainerQueueAdapter Class Reference

#include <FrameContainerQueue.h>

Inheritance diagram for FrameContainerQueueAdapter:
Inheritance graph
Collaboration diagram for FrameContainerQueueAdapter:
Collaboration graph

Public Member Functions

 FrameContainerQueueAdapter ()
 
void adapt (boost::shared_ptr< FrameContainerQueue > adaptee)
 
void push (frame_container item)
 
frame_container pop ()
 
bool try_push (frame_container item)
 
frame_container try_pop ()
 
bool isFull ()
 
void clear ()
 
void accept ()
 
size_t size ()
 
- Public Member Functions inherited from FrameContainerQueue
 FrameContainerQueue (size_t capacity)
 
virtual void push_back (frame_container item)
 
virtual void push_drop_oldest (frame_container item)
 
virtual frame_container peek ()
 
virtual void flush ()
 
- Public Member Functions inherited from bounded_buffer< frame_container >
 bounded_buffer (size_type capacity)
 
void push (typename boost::call_traits< value_type >::param_type item)
 
void push_back (typename boost::call_traits< value_type >::param_type item)
 
void push_drop_oldest (typename boost::call_traits< value_type >::param_type item)
 
bool try_push (typename boost::call_traits< value_type >::param_type item)
 
bool isFull ()
 
value_type pop ()
 
value_type peek ()
 
value_type try_pop ()
 
void clear ()
 
void flush ()
 
void accept ()
 
size_t size ()
 

Protected Types

enum  PushType { DONT_PUSH = 0 , TRY_PUSH = 1 , MUST_PUSH = 2 }
 

Protected Member Functions

virtual PushType should_push (frame_container item)
 
virtual void on_failed_push (frame_container item)
 
virtual void on_push_success (frame_container item)
 
virtual frame_container on_failed_pop ()
 
virtual frame_container on_pop_success (frame_container item)
 

Protected Attributes

boost::shared_ptr< FrameContainerQueuemAdaptee
 

Additional Inherited Members

- Public Types inherited from bounded_buffer< frame_container >
typedef boost::container::deque< frame_container > container_type
 
typedef container_type::size_type size_type
 
typedef container_type::value_type value_type
 
typedef boost::call_traits< value_type >::param_type param_type
 

Member Enumeration Documentation

◆ PushType

Enumerator
DONT_PUSH 
TRY_PUSH 
MUST_PUSH 

Constructor & Destructor Documentation

◆ FrameContainerQueueAdapter()

FrameContainerQueueAdapter::FrameContainerQueueAdapter ( )
inline

Member Function Documentation

◆ accept()

void FrameContainerQueueAdapter::accept ( )
inlinevirtual

Reimplemented from FrameContainerQueue.

◆ adapt()

void FrameContainerQueueAdapter::adapt ( boost::shared_ptr< FrameContainerQueue > adaptee)
inline

◆ clear()

void FrameContainerQueueAdapter::clear ( )
inlinevirtual

Reimplemented from FrameContainerQueue.

◆ isFull()

bool FrameContainerQueueAdapter::isFull ( )
inlinevirtual

Reimplemented from FrameContainerQueue.

◆ on_failed_pop()

virtual frame_container FrameContainerQueueAdapter::on_failed_pop ( )
inlineprotectedvirtual
Here is the caller graph for this function:

◆ on_failed_push()

virtual void FrameContainerQueueAdapter::on_failed_push ( frame_container item)
inlineprotectedvirtual

Reimplemented in H264FrameDemuxer.

Here is the caller graph for this function:

◆ on_pop_success()

virtual frame_container FrameContainerQueueAdapter::on_pop_success ( frame_container item)
inlineprotectedvirtual

Reimplemented in H264FrameDemuxer.

Here is the caller graph for this function:

◆ on_push_success()

virtual void FrameContainerQueueAdapter::on_push_success ( frame_container item)
inlineprotectedvirtual

Reimplemented in H264FrameDemuxer.

Here is the caller graph for this function:

◆ pop()

frame_container FrameContainerQueueAdapter::pop ( )
inlinevirtual

Reimplemented from FrameContainerQueue.

Here is the call graph for this function:

◆ push()

void FrameContainerQueueAdapter::push ( frame_container item)
inlinevirtual

Reimplemented from FrameContainerQueue.

Here is the call graph for this function:

◆ should_push()

virtual PushType FrameContainerQueueAdapter::should_push ( frame_container item)
inlineprotectedvirtual

Reimplemented in H264FrameDemuxer.

Here is the caller graph for this function:

◆ size()

size_t FrameContainerQueueAdapter::size ( )
inlinevirtual

Reimplemented from FrameContainerQueue.

◆ try_pop()

frame_container FrameContainerQueueAdapter::try_pop ( )
inlinevirtual

Reimplemented from FrameContainerQueue.

◆ try_push()

bool FrameContainerQueueAdapter::try_push ( frame_container item)
inlinevirtual

Reimplemented from FrameContainerQueue.

Here is the call graph for this function:

Member Data Documentation

◆ mAdaptee

boost::shared_ptr<FrameContainerQueue> FrameContainerQueueAdapter::mAdaptee
protected

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