Agora  1.2.0
Agora project
MacReceiver Class Reference

#include <mac_receiver.h>

Collaboration diagram for MacReceiver:

Public Member Functions

 MacReceiver (Config *const cfg, size_t num_frame_data_bytes, std::string phy_server_address, size_t phy_port, size_t rx_thread_num=1, size_t core_offset=1)
 
 MacReceiver (Config *const cfg, size_t num_frame_data_bytes, std::string phy_server_address, size_t phy_port, std::string fwd_data_udp_address, size_t fwd_port, size_t rx_thread_num=1, size_t core_offset=1)
 
 ~MacReceiver ()=default
 
std::vector< std::thread > StartRecv ()
 
void * LoopRecv (size_t tid)
 

Private Attributes

const size_t data_bytes_
 
const std::string phy_address_
 
const size_t phy_port_
 
const bool enable_udp_output_
 
const size_t udp_dest_port_
 
const std::string udp_dest_address_
 
const size_t rx_thread_num_
 
const size_t core_id_
 
Config *const cfg_
 

Constructor & Destructor Documentation

◆ MacReceiver() [1/2]

MacReceiver::MacReceiver ( Config *const  cfg,
size_t  num_frame_data_bytes,
std::string  phy_server_address,
size_t  phy_port,
size_t  rx_thread_num = 1,
size_t  core_offset = 1 
)
explicit

◆ MacReceiver() [2/2]

MacReceiver::MacReceiver ( Config *const  cfg,
size_t  num_frame_data_bytes,
std::string  phy_server_address,
size_t  phy_port,
std::string  fwd_data_udp_address,
size_t  fwd_port,
size_t  rx_thread_num = 1,
size_t  core_offset = 1 
)
explicit

◆ ~MacReceiver()

MacReceiver::~MacReceiver ( )
default

Member Function Documentation

◆ LoopRecv()

void * MacReceiver::LoopRecv ( size_t  tid)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ StartRecv()

std::vector< std::thread > MacReceiver::StartRecv ( )
Here is the call graph for this function:

Member Data Documentation

◆ cfg_

Config* const MacReceiver::cfg_
private

◆ core_id_

const size_t MacReceiver::core_id_
private

◆ data_bytes_

const size_t MacReceiver::data_bytes_
private

◆ enable_udp_output_

const bool MacReceiver::enable_udp_output_
private

◆ phy_address_

const std::string MacReceiver::phy_address_
private

◆ phy_port_

const size_t MacReceiver::phy_port_
private

◆ rx_thread_num_

const size_t MacReceiver::rx_thread_num_
private

◆ udp_dest_address_

const std::string MacReceiver::udp_dest_address_
private

◆ udp_dest_port_

const size_t MacReceiver::udp_dest_port_
private

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