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

SH::SHPlainData Class Reference
[StreamHandlers]

#include <SHPlainData.h>

Inheritance diagram for SH::SHPlainData:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SHPlainData (MNRope *&data, bool consume_rope)
 SHPlainData (const uchar_t *data, size_t len)
virtual ~SHPlainData ()
virtual DataPtr clone ()
 Data.
virtual size_t getByteSize () const
 Required by SH::Data.
MNRopeextract_payload ()
 Removes the data from the packet, e.g. for further processing.
virtual bool isPlainData () const
virtual bool isOrderedData () const
virtual bool isRTPData () const
virtual bool isDummyData () const
virtual bool isSHRTPData () const
MNRopegetRope ()

Static Public Attributes

const bool Consume = true
const bool DontConsume = false

Protected Attributes

MNRope_data

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.


Constructor & Destructor Documentation

SH::SHPlainData::SHPlainData MNRope *&  data,
bool  consume_rope
 

Constructor, takes a rope containing the plain data.

SH::SHPlainData::SHPlainData const uchar_t *  data,
size_t  len
 

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

virtual SH::SHPlainData::~SHPlainData  )  [virtual]
 

Destructor


Member Function Documentation

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

Data.

Implements SH::Data.

Reimplemented in SH::SHOrderedData.

MNRope* SH::SHPlainData::extract_payload  ) 
 

Removes the data from the packet, e.g. for further processing.

virtual size_t SH::SHPlainData::getByteSize  )  const [virtual]
 

Required by SH::Data.

Implements SH::Data.

MNRope* SH::SHPlainData::getRope  ) 
 

virtual bool SH::SHPlainData::isDummyData  )  const [inline, virtual]
 

See also:
Data

Implements SH::Data.

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

See also:
Data

Implements SH::Data.

Reimplemented in SH::SHOrderedData.

virtual bool SH::SHPlainData::isPlainData  )  const [inline, virtual]
 

See also:
Data

Implements SH::Data.

virtual bool SH::SHPlainData::isRTPData  )  const [inline, virtual]
 

See also:
Data

Implements SH::Data.

virtual bool SH::SHPlainData::isSHRTPData  )  const [inline, virtual]
 

See also:
Data

Implements SH::Data.


Member Data Documentation

MNRope* SH::SHPlainData::_data [protected]
 

const bool SH::SHPlainData::Consume = true [static]
 

const bool SH::SHPlainData::DontConsume = false [static]
 


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