ccRTP 2.1.2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Data Fields
MembershipBookkeeping::IncomingRTPPktLink Struct Reference

Incoming RTP data packets control structure within the incoming packet queue class. More...

#include <iqueue.h>

Collaboration diagram for MembershipBookkeeping::IncomingRTPPktLink:
Collaboration graph
[legend]

Public Member Functions

 IncomingRTPPktLink (IncomingRTPPkt *pkt, SyncSourceLink *sLink, struct timeval &recv_ts, uint32 shifted_ts, IncomingRTPPktLink *sp, IncomingRTPPktLink *sn, IncomingRTPPktLink *p, IncomingRTPPktLink *n)
 
 ~IncomingRTPPktLink ()
 
SyncSourceLinkgetSourceLink () const
 
void setSourceLink (SyncSourceLink *src)
 
IncomingRTPPktLinkgetNext () const
 
void setNext (IncomingRTPPktLink *nl)
 
IncomingRTPPktLinkgetPrev () const
 
void setPrev (IncomingRTPPktLink *pl)
 
IncomingRTPPktLinkgetSrcNext () const
 
void setSrcNext (IncomingRTPPktLink *sn)
 
IncomingRTPPktLinkgetSrcPrev () const
 
void setSrcPrev (IncomingRTPPktLink *sp)
 
IncomingRTPPktgetPacket () const
 
void setPacket (IncomingRTPPkt *pkt)
 
void setRecvTime (const timeval &t)
 Set the time this packet was received at. More...
 
timeval getRecvTime () const
 Get the time this packet was received at. More...
 
uint32 getTimestamp () const
 Get timestamp of this packet. More...
 
void setTimestamp (uint32 ts)
 

Data Fields

IncomingRTPPktpacket
 
SyncSourceLinksourceLink
 
IncomingRTPPktLinkprev
 
IncomingRTPPktLinknext
 
IncomingRTPPktLinksrcPrev
 
IncomingRTPPktLinksrcNext
 
struct timeval receptionTime
 
uint32 shiftedTimestamp
 

Detailed Description

Incoming RTP data packets control structure within the incoming packet queue class.

Definition at line 351 of file iqueue.h.

Constructor & Destructor Documentation

MembershipBookkeeping::IncomingRTPPktLink::IncomingRTPPktLink ( IncomingRTPPkt pkt,
SyncSourceLink sLink,
struct timeval &  recv_ts,
uint32  shifted_ts,
IncomingRTPPktLink sp,
IncomingRTPPktLink sn,
IncomingRTPPktLink p,
IncomingRTPPktLink n 
)
inline

Definition at line 353 of file iqueue.h.

MembershipBookkeeping::IncomingRTPPktLink::~IncomingRTPPktLink ( )
inline

Definition at line 368 of file iqueue.h.

Member Function Documentation

IncomingRTPPktLink* MembershipBookkeeping::IncomingRTPPktLink::getNext ( ) const
inline

Definition at line 377 of file iqueue.h.

IncomingRTPPkt* MembershipBookkeeping::IncomingRTPPktLink::getPacket ( ) const
inline

Definition at line 401 of file iqueue.h.

IncomingRTPPktLink* MembershipBookkeeping::IncomingRTPPktLink::getPrev ( ) const
inline

Definition at line 383 of file iqueue.h.

timeval MembershipBookkeeping::IncomingRTPPktLink::getRecvTime ( ) const
inline

Get the time this packet was received at.

Definition at line 420 of file iqueue.h.

SyncSourceLink* MembershipBookkeeping::IncomingRTPPktLink::getSourceLink ( ) const
inline

Definition at line 371 of file iqueue.h.

IncomingRTPPktLink* MembershipBookkeeping::IncomingRTPPktLink::getSrcNext ( ) const
inline

Definition at line 389 of file iqueue.h.

IncomingRTPPktLink* MembershipBookkeeping::IncomingRTPPktLink::getSrcPrev ( ) const
inline

Definition at line 395 of file iqueue.h.

uint32 MembershipBookkeeping::IncomingRTPPktLink::getTimestamp ( ) const
inline

Get timestamp of this packet.

The timestamp of incoming packets is filtered so that the timestamp this method provides for the first packet received from every source starts from 0.

Returns
32 bit timestamp starting from 0 for each source.

Definition at line 431 of file iqueue.h.

void MembershipBookkeeping::IncomingRTPPktLink::setNext ( IncomingRTPPktLink nl)
inline

Definition at line 380 of file iqueue.h.

void MembershipBookkeeping::IncomingRTPPktLink::setPacket ( IncomingRTPPkt pkt)
inline

Definition at line 404 of file iqueue.h.

void MembershipBookkeeping::IncomingRTPPktLink::setPrev ( IncomingRTPPktLink pl)
inline

Definition at line 386 of file iqueue.h.

void MembershipBookkeeping::IncomingRTPPktLink::setRecvTime ( const timeval &  t)
inline

Set the time this packet was received at.

Parameters
ttime of reception.
Note
this has almost nothing to do with the 32-bit timestamp contained in the packet header.

Definition at line 414 of file iqueue.h.

void MembershipBookkeeping::IncomingRTPPktLink::setSourceLink ( SyncSourceLink src)
inline

Definition at line 374 of file iqueue.h.

void MembershipBookkeeping::IncomingRTPPktLink::setSrcNext ( IncomingRTPPktLink sn)
inline

Definition at line 392 of file iqueue.h.

void MembershipBookkeeping::IncomingRTPPktLink::setSrcPrev ( IncomingRTPPktLink sp)
inline

Definition at line 398 of file iqueue.h.

void MembershipBookkeeping::IncomingRTPPktLink::setTimestamp ( uint32  ts)
inline

Definition at line 434 of file iqueue.h.

Field Documentation

IncomingRTPPktLink * MembershipBookkeeping::IncomingRTPPktLink::next

Definition at line 442 of file iqueue.h.

IncomingRTPPkt* MembershipBookkeeping::IncomingRTPPktLink::packet

Definition at line 438 of file iqueue.h.

IncomingRTPPktLink* MembershipBookkeeping::IncomingRTPPktLink::prev

Definition at line 442 of file iqueue.h.

struct timeval MembershipBookkeeping::IncomingRTPPktLink::receptionTime

Definition at line 446 of file iqueue.h.

uint32 MembershipBookkeeping::IncomingRTPPktLink::shiftedTimestamp

Definition at line 450 of file iqueue.h.

SyncSourceLink* MembershipBookkeeping::IncomingRTPPktLink::sourceLink

Definition at line 440 of file iqueue.h.

IncomingRTPPktLink * MembershipBookkeeping::IncomingRTPPktLink::srcNext

Definition at line 444 of file iqueue.h.

IncomingRTPPktLink* MembershipBookkeeping::IncomingRTPPktLink::srcPrev

Definition at line 444 of file iqueue.h.


The documentation for this struct was generated from the following file: