SDIF::Stream Class Reference

SDIF has a notion of streams: each frame contains a stream id. More...

#include <SDIFStream.hxx>

List of all members.

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
FrameFront (void) const
FrameBack (void) const
CLAM::TInt32 StreamId (void)
TypeId StreamType (void)

Detailed Description

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.

See also:
Collection.

Definition at line 41 of file SDIFStream.hxx.


Member Typedef Documentation

typedef std::list<Frame*>::const_iterator SDIF::Stream::FrameIterator

Definition at line 44 of file SDIFStream.hxx.


Constructor & Destructor Documentation

SDIF::Stream::Stream ( TypeId  typeId,
CLAM::TInt32  streamId 
)

Create a Stream.

Parameters:
streamId The StreamID for the frames in this stream

Definition at line 28 of file SDIFStream.cxx.


Member Function Documentation

void SDIF::Stream::Add ( Frame pFrame  ) 

Add a Frame to the stream.

Parameters:
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.


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3