Agora  1.2.0
Agora project
sender.cc File Reference

Implementation file for the sender class. More...

#include "sender.h"
#include <algorithm>
#include <csignal>
#include <thread>
#include "datatype_conversion.h"
#include "gettime.h"
#include "logger.h"
#include "message.h"
#include "udp_client.h"
Include dependency graph for sender.cc:

Functions

void InterruptHandler (int)
 
void DelayTicks (uint64_t start, uint64_t ticks)
 

Variables

static constexpr bool kDebugPrintSender = false
 
static std::atomic< bool > keep_running = true
 
static std::atomic< size_t > num_workers_ready_atomic = 0
 

Detailed Description

Implementation file for the sender class.

Function Documentation

◆ DelayTicks()

void DelayTicks ( uint64_t  start,
uint64_t  ticks 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ InterruptHandler()

void InterruptHandler ( int  )
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ kDebugPrintSender

constexpr bool kDebugPrintSender = false
staticconstexpr

◆ keep_running

std::atomic<bool> keep_running = true
static

◆ num_workers_ready_atomic

std::atomic<size_t> num_workers_ready_atomic = 0
static