Agora  1.2.0
Agora project
AgoraWorker Class Reference

#include <agora_worker.h>

Collaboration diagram for AgoraWorker:

Public Member Functions

 AgoraWorker (Config *cfg, Stats *stats, PhyStats *phy_stats, MessageInfo *message, AgoraBuffer *buffer, FrameInfo *frame)
 
 ~AgoraWorker ()
 

Private Member Functions

void WorkerThread (int tid)
 
void CreateThreads ()
 

Private Attributes

const size_t base_worker_core_offset_
 
Config *const config_
 
std::vector< std::thread > workers_
 
Statsstats_
 
PhyStatsphy_stats_
 
MessageInfomessage_
 
AgoraBufferbuffer_
 
FrameInfoframe_
 

Constructor & Destructor Documentation

◆ AgoraWorker()

AgoraWorker::AgoraWorker ( Config cfg,
Stats stats,
PhyStats phy_stats,
MessageInfo message,
AgoraBuffer buffer,
FrameInfo frame 
)
explicit
Here is the call graph for this function:

◆ ~AgoraWorker()

AgoraWorker::~AgoraWorker ( )

Member Function Documentation

◆ CreateThreads()

void AgoraWorker::CreateThreads ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ WorkerThread()

void AgoraWorker::WorkerThread ( int  tid)
private

‍*************************

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ base_worker_core_offset_

const size_t AgoraWorker::base_worker_core_offset_
private

◆ buffer_

AgoraBuffer* AgoraWorker::buffer_
private

◆ config_

Config* const AgoraWorker::config_
private

◆ frame_

FrameInfo* AgoraWorker::frame_
private

◆ message_

MessageInfo* AgoraWorker::message_
private

◆ phy_stats_

PhyStats* AgoraWorker::phy_stats_
private

◆ stats_

Stats* AgoraWorker::stats_
private

◆ workers_

std::vector<std::thread> AgoraWorker::workers_
private

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