RTC Toolkit  2.0.0
Public Member Functions | Public Attributes | List of all members
SampleIdentifier Struct Reference

Unique identifier for packets of a single sample. More...

#include <packetCombiner.hpp>

Public Member Functions

bool operator< (const SampleIdentifier &rhs) const
 
bool operator== (const SampleIdentifier &rhs) const
 
bool operator!= (const SampleIdentifier &rhs) const
 
 SampleIdentifier (StreamIdentifier new_stream_id, uint32_t new_sample_id)
 
 SampleIdentifier ()=default
 

Public Attributes

StreamIdentifier stream_id
 
uint32_t sample_id
 

Detailed Description

Unique identifier for packets of a single sample.

Constructor & Destructor Documentation

◆ SampleIdentifier() [1/2]

SampleIdentifier::SampleIdentifier ( StreamIdentifier  new_stream_id,
uint32_t  new_sample_id 
)
inlineexplicit

◆ SampleIdentifier() [2/2]

SampleIdentifier::SampleIdentifier ( )
default

Member Function Documentation

◆ operator!=()

bool SampleIdentifier::operator!= ( const SampleIdentifier rhs) const
inline

◆ operator<()

bool SampleIdentifier::operator< ( const SampleIdentifier rhs) const
inline

◆ operator==()

bool SampleIdentifier::operator== ( const SampleIdentifier rhs) const
inline

Member Data Documentation

◆ sample_id

uint32_t SampleIdentifier::sample_id

◆ stream_id

StreamIdentifier SampleIdentifier::stream_id

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