ldas-tools-framecpp 3.0.4
|
Scan buffers conforming to the frame specification. More...
#include <FrameBufferInterface.hh>
Public Types | |
typedef start_time_normalized_type | start_time_type |
typedef delta_t_normalized_type | delta_t_type |
typedef INT_8U | size_type |
type for number of bytes to read and size of buffer | |
typedef start_time_normalized_type | start_time_type |
typedef delta_t_normalized_type | delta_t_type |
typedef INT_8U | size_type |
type for number of bytes to read and size of buffer |
Public Member Functions | |
Scanner () | |
Constructor. | |
virtual | ~Scanner () |
Destructor. | |
delta_t_type | DeltaT () const |
Retrieve the duration of the stream. | |
virtual void | NextBlock (const char *Buffer, size_type Size) |
Add a buffer to the frame file memory image. | |
size_type | NextBlockSize () const |
Return the number of bytes to be made available. | |
size_type | Position () const |
Return the current position in the stream being scanned. | |
bool | Ready () const |
Check if a complete frame file is ready for processing. | |
virtual void | Reset () |
Initialize buffer to accumulate a frame file. | |
start_time_type | StartTime () const |
Retrieve the start time of the stream. | |
Scanner () | |
Constructor. | |
virtual | ~Scanner () |
Destructor. | |
delta_t_type | DeltaT () const |
Retrieve the duration of the stream. | |
virtual void | NextBlock (const char *Buffer, size_type Size) |
Add a buffer to the frame file memory image. | |
size_type | NextBlockSize () const |
Return the number of bytes to be made available. | |
size_type | Position () const |
Return the current position in the stream being scanned. | |
bool | Ready () const |
Check if a complete frame file is ready for processing. | |
virtual void | Reset () |
Initialize buffer to accumulate a frame file. | |
start_time_type | StartTime () const |
Retrieve the start time of the stream. |
Private Attributes | |
boost::shared_ptr< FrHeader > | file_header |
boost::shared_ptr< FrHeader > | file_header_base |
bool | frame_file_cached |
FrameSpec::Info * | frame_spec |
boost::shared_ptr< FrameH > | frame_h |
FrameSpec::Info::frame_object_types | frame_h_id |
const char * | frame_h_name |
boost::shared_ptr< FrEndOfFile > | fr_end_of_file |
FrameSpec::Info::frame_object_types | fr_end_of_file_id |
const char * | fr_end_of_file_name |
boost::shared_ptr< FrSH > | fr_sh |
boost::shared_ptr< StreamRefInterface > | stream_ref |
size_type | next_block_size |
size_type | position |
INT_2U | frame_count |
start_time_type | start_time |
start_time_type | end_time |
Static Private Attributes | |
static const size_type | RESET_NEXT_BLOCK_SIZE |
Scan buffers conforming to the frame specification.
typedef INT_8U FrameCPP::Common::FrameBufferInterface::Scanner::size_type |
type for number of bytes to read and size of buffer
typedef INT_8U FrameCPP::Common::FrameBufferInterface::Scanner::size_type |
type for number of bytes to read and size of buffer
FrameCPP::Common::FrameBufferInterface::Scanner::Scanner | ( | ) |
Constructor.
|
inlinevirtual |
Destructor.
FrameCPP::Common::FrameBufferInterface::Scanner::Scanner | ( | ) |
Constructor.
|
virtual |
Destructor.
|
inline |
Retrieve the duration of the stream.
delta_t_type FrameCPP::Common::FrameBufferInterface::Scanner::DeltaT | ( | ) | const |
Retrieve the duration of the stream.
|
virtual |
Add a buffer to the frame file memory image.
[in] | Buffer | The buffer to scan |
[in] | Size | The number of bytes in Buffer |
Reimplemented in FrameCPP::Common::DynamicMemoryBufferT< BT >, and FrameCPP::Common::DynamicMemoryBufferT< BT >.
|
virtual |
Add a buffer to the frame file memory image.
[in] | Buffer | The buffer to scan |
[in] | Size | The number of bytes in Buffer |
Reimplemented in FrameCPP::Common::DynamicMemoryBufferT< BT >, and FrameCPP::Common::DynamicMemoryBufferT< BT >.
|
inline |
Return the number of bytes to be made available.
size_type FrameCPP::Common::FrameBufferInterface::Scanner::NextBlockSize | ( | ) | const |
Return the number of bytes to be made available.
|
inline |
Return the current position in the stream being scanned.
size_type FrameCPP::Common::FrameBufferInterface::Scanner::Position | ( | ) | const |
Return the current position in the stream being scanned.
|
inline |
Check if a complete frame file is ready for processing.
bool FrameCPP::Common::FrameBufferInterface::Scanner::Ready | ( | ) | const |
Check if a complete frame file is ready for processing.
|
virtual |
Initialize buffer to accumulate a frame file.
Reimplemented in FrameCPP::Common::DynamicMemoryBufferT< BT >, and FrameCPP::Common::DynamicMemoryBufferT< BT >.
|
virtual |
Initialize buffer to accumulate a frame file.
Reimplemented in FrameCPP::Common::DynamicMemoryBufferT< BT >, and FrameCPP::Common::DynamicMemoryBufferT< BT >.
|
inline |
Retrieve the start time of the stream.
start_time_type FrameCPP::Common::FrameBufferInterface::Scanner::StartTime | ( | ) | const |
Retrieve the start time of the stream.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |