#include <FrameBufferInterface.hh>
Classes | |
class | Scanner |
Scan buffers conforming to the frame specification. More... | |
Public Types | |
typedef std::streambuf::char_type | char_type |
typedef INT_4U | buffer_size_type |
typedef std::streambuf::char_type | char_type |
typedef INT_4U | buffer_size_type |
Public Member Functions | |
FrameBufferInterface () | |
virtual | ~FrameBufferInterface () |
bool | AutoDelete () const |
void | AutoDelete (bool Value) |
virtual void | FilterAdd (FrameCPP::Common::StreamFilter *Filter) |
Adds a filter to the stream. | |
virtual void | FilterRemove (FrameCPP::Common::StreamFilter *Filter) |
Removes a filter from the stream. | |
virtual bool | FilterInternally () const =0 |
virtual void | buffer ()=0 |
template<class DT> | |
void | filter (const DT &Data) |
virtual void | filter (const char_type *Start, const char_type *End)=0 |
void | FilterBuffer (const char *Begin, const char *End) |
const std::string & | BufferId () const |
Retrieve the string identification of the buffer. | |
FrameBufferInterface () | |
virtual | ~FrameBufferInterface () |
bool | AutoDelete () const |
void | AutoDelete (bool Value) |
virtual void | FilterAdd (FrameCPP::Common::StreamFilter *Filter) |
Adds a filter to the stream. | |
virtual void | FilterRemove (FrameCPP::Common::StreamFilter *Filter) |
Removes a filter from the stream. | |
virtual bool | FilterInternally () const =0 |
virtual void | buffer ()=0 |
template<class DT> | |
void | filter (const DT &Data) |
virtual void | filter (const char_type *Start, const char_type *End)=0 |
void | FilterBuffer (const char *Begin, const char *End) |
const std::string & | BufferId () const |
Retrieve the string identification of the buffer. | |
Static Public Attributes | |
static const buffer_size_type | M_BUFFER_SIZE_DEFAULT = 256 * 1024 |
The default size for buffered input and output. | |
static const buffer_size_type | M_BUFFER_SIZE_SYSTEM |
Protected Types | |
typedef std::list< FrameCPP::Common::StreamFilter * > | filters_type |
Type specifying the container holding the active filters. | |
typedef std::list< FrameCPP::Common::StreamFilter * > | filters_type |
Type specifying the container holding the active filters. | |
Protected Member Functions | |
void | bufferId (const std::string &Id) |
void | bufferId (const std::string &Id) |
Protected Attributes | |
filters_type | m_filters |
Container holding all active filters. | |
Private Attributes | |
bool | m_auto_delete |
std::string | m_stream_id |
typedef INT_4U FrameCPP::Common::FrameBufferInterface::buffer_size_type |
typedef INT_4U FrameCPP::Common::FrameBufferInterface::buffer_size_type |
typedef std::streambuf::char_type FrameCPP::Common::FrameBufferInterface::char_type |
typedef std::streambuf::char_type FrameCPP::Common::FrameBufferInterface::char_type |
|
protected |
Type specifying the container holding the active filters.
|
protected |
Type specifying the container holding the active filters.
FrameCPP::Common::FrameBufferInterface::FrameBufferInterface | ( | ) |
|
virtual |
FrameCPP::Common::FrameBufferInterface::FrameBufferInterface | ( | ) |
|
virtual |
|
inline |
bool FrameCPP::Common::FrameBufferInterface::AutoDelete | ( | ) | const |
|
inline |
void FrameCPP::Common::FrameBufferInterface::AutoDelete | ( | bool | Value | ) |
|
pure virtual |
Implemented in FrameBuffer< BT >, FrameBuffer< BT >, FrameCPP::Common::BaseMemoryBufferT< BT >, FrameCPP::Common::BaseMemoryBufferT< BT >, FrameCPP::Common::BaseMemoryBufferT< BT >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::MemoryBufferT< BT >, FrameCPP::Common::MemoryBufferT< BT >, FrameCPP::Common::MemoryBufferT< std::stringbuf >, and FrameCPP::Common::MemoryBufferT< std::stringbuf >.
|
pure virtual |
Implemented in FrameBuffer< BT >, FrameBuffer< BT >, FrameCPP::Common::BaseMemoryBufferT< BT >, FrameCPP::Common::BaseMemoryBufferT< BT >, FrameCPP::Common::BaseMemoryBufferT< BT >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::MemoryBufferT< BT >, FrameCPP::Common::MemoryBufferT< BT >, FrameCPP::Common::MemoryBufferT< std::stringbuf >, and FrameCPP::Common::MemoryBufferT< std::stringbuf >.
|
inline |
Retrieve the string identification of the buffer.
const std::string & FrameCPP::Common::FrameBufferInterface::BufferId | ( | ) | const |
Retrieve the string identification of the buffer.
|
inlineprotected |
|
protected |
|
pure virtual |
|
pure virtual |
|
virtual |
Adds a filter to the stream.
[in] | Filter | Filter function to add to the stream |
Reimplemented in FrameBuffer< BT >, FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, and FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >.
|
virtual |
Adds a filter to the stream.
[in] | Filter | Filter function to add to the stream |
Reimplemented in FrameBuffer< BT >, FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, and FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >.
void FrameCPP::Common::FrameBufferInterface::FilterBuffer | ( | const char * | Begin, |
const char * | End ) |
void FrameCPP::Common::FrameBufferInterface::FilterBuffer | ( | const char * | Begin, |
const char * | End ) |
|
pure virtual |
Implemented in FrameBuffer< BT >, FrameBuffer< BT >, FrameBuffer< BT >, FrameCPP::Common::BaseMemoryBufferT< BT >, FrameCPP::Common::BaseMemoryBufferT< BT >, FrameCPP::Common::BaseMemoryBufferT< BT >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::MemoryBufferT< BT >, FrameCPP::Common::MemoryBufferT< BT >, FrameCPP::Common::MemoryBufferT< std::stringbuf >, and FrameCPP::Common::MemoryBufferT< std::stringbuf >.
|
pure virtual |
Implemented in FrameBuffer< BT >, FrameBuffer< BT >, FrameBuffer< BT >, FrameCPP::Common::BaseMemoryBufferT< BT >, FrameCPP::Common::BaseMemoryBufferT< BT >, FrameCPP::Common::BaseMemoryBufferT< BT >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::BaseMemoryBufferT< ROMemoryStreamBuf >, FrameCPP::Common::FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::MemoryBufferT< BT >, FrameCPP::Common::MemoryBufferT< BT >, FrameCPP::Common::MemoryBufferT< std::stringbuf >, and FrameCPP::Common::MemoryBufferT< std::stringbuf >.
|
virtual |
Removes a filter from the stream.
[in] | Filter | Filter function to remove from the stream |
Reimplemented in FrameBuffer< BT >, FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, and FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >.
|
virtual |
Removes a filter from the stream.
[in] | Filter | Filter function to remove from the stream |
Reimplemented in FrameBuffer< BT >, FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< BT >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< filebuf_type >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >, and FrameCPP::Common::FrameBuffer< LDASTools::AL::filebuf >.
|
private |
|
static |
The default size for buffered input and output.
|
static |
|
protected |
Container holding all active filters.
|
private |