DefaultHeader Class Reference

Default Header. More...

#include <PacketHeader.h>

Inheritance diagram for DefaultHeader:

Inheritance graph
Collaboration diagram for DefaultHeader:

Collaboration graph

List of all members.

Public Member Functions

 DefaultHeader (JackTrip *jacktrip)
virtual ~DefaultHeader ()
virtual void fillHeaderCommonFromAudio ()
virtual void parseHeader ()
virtual void checkPeerSettings (int8_t *full_packet)
virtual void increaseSequenceNumber ()
virtual uint16_t getSequenceNumber () const
virtual uint16_t getPeerSequenceNumber (int8_t *full_packet) const
virtual uint64_t getPeerTimeStamp (int8_t *) const
virtual int getHeaderSizeInBytes () const
virtual void putHeaderInPacket (int8_t *full_packet)
void printHeader () const

Private Attributes

DefaultHeaderStruct mHeader
 Default Header Struct.
 JackTrip mediator class.

Detailed Description

Default Header.

Constructor & Destructor Documentation

DefaultHeader::DefaultHeader ( JackTrip jacktrip  ) 

virtual DefaultHeader::~DefaultHeader (  )  [inline, virtual]

Member Function Documentation

void DefaultHeader::fillHeaderCommonFromAudio (  )  [virtual]

Implement this using a JackTrip Method (Mediator) member instead of the reference to JackAudio

Implements PacketHeader.

virtual void DefaultHeader::parseHeader (  )  [inline, virtual]

Implements PacketHeader.

void DefaultHeader::checkPeerSettings ( int8_t full_packet  )  [virtual]

Check number of channels and other parameters

Implements PacketHeader.

virtual void DefaultHeader::increaseSequenceNumber (  )  [inline, virtual]

Reimplemented from PacketHeader.

virtual uint16_t DefaultHeader::getSequenceNumber (  )  const [inline, virtual]

Reimplemented from PacketHeader.

uint16_t DefaultHeader::getPeerSequenceNumber ( int8_t full_packet  )  const [virtual]

Implements PacketHeader.

virtual uint64_t DefaultHeader::getPeerTimeStamp ( int8_t  )  const [inline, virtual]


Implements PacketHeader.

virtual int DefaultHeader::getHeaderSizeInBytes (  )  const [inline, virtual]

Implements PacketHeader.

virtual void DefaultHeader::putHeaderInPacket ( int8_t full_packet  )  [inline, virtual]

Implements PacketHeader.

void DefaultHeader::printHeader (  )  const

Member Data Documentation

Default Header Struct.

JackTrip mediator class.

Reimplemented from PacketHeader.

The documentation for this class was generated from the following files: