Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

SH::SHOrderedData Class Reference
[StreamHandlers]

#include <SHOrderedData.h>

Inheritance diagram for SH::SHOrderedData:

Inheritance graph
[legend]
Collaboration diagram for SH::SHOrderedData:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SHOrderedData (MNRope *&data, bool consume_rope, u_int64 bytepos)
 SHOrderedData (const uchar_t *data, size_t len, u_int64 bytepos)
virtual DataPtr clone ()
u_int64 get_bytepos () const
virtual bool isOrderedData () const

Detailed Description

The multimedia data that is flowing from through the stream handlers has an abstract base class Data. Data items themselves are replicated in multicast stream handlers using their clone() method. The last instance is handed over to a downstream stream handler. Stream handlers interpret the contained data in their own ways.

The SHOrderedData is "plain data", joined by a byteposition-indicator ( position in the stream of the first byte )


Constructor & Destructor Documentation

SH::SHOrderedData::SHOrderedData MNRope *&  data,
bool  consume_rope,
u_int64  bytepos
 

Constructor, takes a rope containing the plain data.

SH::SHOrderedData::SHOrderedData const uchar_t *  data,
size_t  len,
u_int64  bytepos
 

Constructor, a buffer and its length to create the plain data packet.


Member Function Documentation

virtual DataPtr SH::SHOrderedData::clone  )  [virtual]
 

See also:
Data

Reimplemented from SH::SHPlainData.

u_int64 SH::SHOrderedData::get_bytepos  )  const
 

virtual bool SH::SHOrderedData::isOrderedData  )  const [inline, virtual]
 

See also:
Data

Reimplemented from SH::SHPlainData.


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 13:36:36 2005 for Komssys by doxygen 1.3.8