Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

RTPData Class Reference

Interface to data received over RTP packets. More...

#include <cc++/rtp.h>

List of all members.

Public Methods

 RTPData (const RTPData &origin)
RTPData & operator= (const RTPData &source)
const unsigned char * getData () const
size_t getSize () const
rtp_payload_t getPayloadType () const

Protected Methods

 RTPData (IncomingRTPPkt &packet)
 ~RTPData ()

Private Attributes

dataCounterdatablock
RTPSourcesrc
friend RTPQueue


Detailed Description

Interface to data received over RTP packets.

A class of objects representing data transmitted over RTP packets. Tipically, this object will apply to received data. Data blocks received via RTP connections, along with its related objects (for instance, its source), are accessed through the methods of this class.

Author:
Federico Montesino Pouzols <p5087@quintero.fie.us.es>
Examples:

audiorx.cpp.

Definition at line 225 of file rtp.h.


Constructor & Destructor Documentation

RTPData::RTPData const RTPData &   origin
 

Parameters:
origin   the RTPData object being copied

RTPData::RTPData IncomingRTPPkt &   packet [protected]
 

RTPData::~RTPData   [protected]
 


Member Function Documentation

const unsigned char* RTPData::getData   const [inline]
 

Definition at line 244 of file rtp.h.

rtp_payload_t RTPData::getPayloadType   const [inline]
 

Definition at line 252 of file rtp.h.

size_t RTPData::getSize   const [inline]
 

Examples:
audiorx.cpp.

Definition at line 248 of file rtp.h.

RTPData& RTPData::operator= const RTPData &   source
 

Assignment operator

Parameters:
source   the RTPData object being assigned
Returns:
the result of the assignment


Member Data Documentation

friend RTPData::RTPQueue [private]
 

Definition at line 279 of file rtp.h.

dataCounter* RTPData::datablock [private]
 

Definition at line 272 of file rtp.h.

RTPSource* RTPData::src [private]
 

Definition at line 277 of file rtp.h.


The documentation for this class was generated from the following file:
Generated at Tue Oct 16 11:17:52 2001 for ccRTP by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001