Agora  1.2.0
Agora project
TxRxWorkerRx::RxStatusTracker Class Reference

#include <rx_status_tracker.h>

Classes

struct  RxStatusPerChannelTracker
 

Public Member Functions

 RxStatusTracker (size_t number_channels)
 
void Reset (std::vector< RxPacket * > new_packets)
 
void Reset ()
 
void DiscardOld (size_t new_samples, long long sample_rx_start)
 
std::vector< RxPacket * > GetRxPackets () const
 
void Update (size_t new_samples, long long sample_rx_start)
 
bool CheckContinuity (long long sample_rx_start) const
 
size_t SamplesAvailable () const
 
size_t NumChannels () const
 
long long StartTime () const
 
std::vector< void * > GetRxPtrs () const
 

Private Attributes

size_t samples_available_ = 0
 
long long sample_start_rx_time_ = 0
 
std::vector< RxStatusPerChannelTrackertracking_
 

Constructor & Destructor Documentation

◆ RxStatusTracker()

TxRxWorkerRx::RxStatusTracker::RxStatusTracker ( size_t  number_channels)
inlineexplicit

Member Function Documentation

◆ CheckContinuity()

bool TxRxWorkerRx::RxStatusTracker::CheckContinuity ( long long  sample_rx_start) const
inline
Here is the caller graph for this function:

◆ DiscardOld()

void TxRxWorkerRx::RxStatusTracker::DiscardOld ( size_t  new_samples,
long long  sample_rx_start 
)
inline
Parameters
new_samples-numberof new samples to shift to the beginning
sample_rx_start-starttime of the new samples
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetRxPackets()

std::vector<RxPacket*> TxRxWorkerRx::RxStatusTracker::GetRxPackets ( ) const
inline

◆ GetRxPtrs()

std::vector<void*> TxRxWorkerRx::RxStatusTracker::GetRxPtrs ( ) const
inline
Here is the caller graph for this function:

◆ NumChannels()

size_t TxRxWorkerRx::RxStatusTracker::NumChannels ( ) const
inline

◆ Reset() [1/2]

void TxRxWorkerRx::RxStatusTracker::Reset ( )
inline
Here is the caller graph for this function:

◆ Reset() [2/2]

void TxRxWorkerRx::RxStatusTracker::Reset ( std::vector< RxPacket * >  new_packets)
inline
Here is the caller graph for this function:

◆ SamplesAvailable()

size_t TxRxWorkerRx::RxStatusTracker::SamplesAvailable ( ) const
inline
Here is the caller graph for this function:

◆ StartTime()

long long TxRxWorkerRx::RxStatusTracker::StartTime ( ) const
inline

◆ Update()

void TxRxWorkerRx::RxStatusTracker::Update ( size_t  new_samples,
long long  sample_rx_start 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ sample_start_rx_time_

long long TxRxWorkerRx::RxStatusTracker::sample_start_rx_time_ = 0
private

◆ samples_available_

size_t TxRxWorkerRx::RxStatusTracker::samples_available_ = 0
private

◆ tracking_

std::vector<RxStatusPerChannelTracker> TxRxWorkerRx::RxStatusTracker::tracking_
private

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