SDIF has a notion of streams: each frame contains a stream id. More...
#include <SDIFStream.hxx>
Public Types | |
typedef std::list< Frame * > ::const_iterator | FrameIterator |
Public Member Functions | |
Stream (TypeId typeId, CLAM::TInt32 streamId) | |
Create a Stream. | |
void | Add (Frame *pFrame) |
Add a Frame to the stream. | |
FrameIterator | Begin (void) const |
FrameIterator | End (void) const |
Frame * | Front (void) const |
Frame * | Back (void) const |
CLAM::TInt32 | StreamId (void) |
TypeId | StreamType (void) |
SDIF has a notion of streams: each frame contains a stream id.
However, in the files the streams are not explicitely present, as the frames are ordered by time, not by stream. The Stream is a list of Frames with the same id.
Definition at line 41 of file SDIFStream.hxx.
typedef std::list<Frame*>::const_iterator SDIF::Stream::FrameIterator |
Definition at line 44 of file SDIFStream.hxx.
SDIF::Stream::Stream | ( | TypeId | typeId, | |
CLAM::TInt32 | streamId | |||
) |
Create a Stream.
streamId | The StreamID for the frames in this stream |
Definition at line 28 of file SDIFStream.cxx.
void SDIF::Stream::Add | ( | Frame * | pFrame | ) |
Add a Frame to the stream.
pFrame | The Frame that this stream starts with. |
Definition at line 33 of file SDIFStream.cxx.
Frame* SDIF::Stream::Back | ( | void | ) | const [inline] |
Definition at line 63 of file SDIFStream.hxx.
FrameIterator SDIF::Stream::Begin | ( | void | ) | const [inline] |
Definition at line 59 of file SDIFStream.hxx.
FrameIterator SDIF::Stream::End | ( | void | ) | const [inline] |
Definition at line 60 of file SDIFStream.hxx.
Frame* SDIF::Stream::Front | ( | void | ) | const [inline] |
Definition at line 62 of file SDIFStream.hxx.
CLAM::TInt32 SDIF::Stream::StreamId | ( | void | ) | [inline] |
Definition at line 65 of file SDIFStream.hxx.
TypeId SDIF::Stream::StreamType | ( | void | ) | [inline] |
Definition at line 66 of file SDIFStream.hxx.