Agora  1.2.0
Agora project
agora.cc File Reference

Implementation file for the main agora class. More...

#include "agora.h"
#include <cmath>
#include <memory>
#include "concurrent_queue_wrapper.h"
#include "logger.h"
#include "modulation.h"
#include "packet_txrx_radio.h"
#include "packet_txrx_sim.h"
#include "signal_handler.h"
Include dependency graph for agora.cc:

Functions

EXPORT AgoraAgoraNew (Config *cfg)
 
EXPORT void AgoraStart (Agora *agora)
 
EXPORT void AgoraStop ()
 
EXPORT void AgoraDestroy (Agora *agora)
 
EXPORT void AgoraGetEqualData (Agora *agora, float **ptr, int *size)
 

Variables

static const bool kDebugPrintPacketsFromMac = false
 
static const bool kDebugDeferral = true
 
static const std::string kProjectDirectory = TOSTRING(PROJECT_DIRECTORY)
 
static const std::string kOutputFilepath
 
static const std::string kTxDataFilename = kOutputFilepath + "tx_data.bin"
 
static const std::string kDecodeDataFilename
 
static constexpr size_t kRecordFrameInterval = 1
 
static constexpr size_t kDefaultQueueSize = 36
 
static constexpr bool kRecordUplinkFrame = false
 
static const std::vector< Agora_recorder::RecorderWorker::RecorderWorkerTypeskRecorderTypes
 

Detailed Description

Implementation file for the main agora class.

Function Documentation

◆ AgoraDestroy()

EXPORT void AgoraDestroy ( Agora agora)

◆ AgoraGetEqualData()

EXPORT void AgoraGetEqualData ( Agora agora,
float **  ptr,
int *  size 
)
Here is the call graph for this function:

◆ AgoraNew()

EXPORT Agora* AgoraNew ( Config cfg)

◆ AgoraStart()

EXPORT void AgoraStart ( Agora agora)
Here is the call graph for this function:

◆ AgoraStop()

EXPORT void AgoraStop ( )
Here is the call graph for this function:

Variable Documentation

◆ kDebugDeferral

const bool kDebugDeferral = true
static

◆ kDebugPrintPacketsFromMac

const bool kDebugPrintPacketsFromMac = false
static

◆ kDecodeDataFilename

const std::string kDecodeDataFilename
static
Initial value:
=
kOutputFilepath + "decode_data.bin"

◆ kDefaultQueueSize

constexpr size_t kDefaultQueueSize = 36
staticconstexpr

◆ kOutputFilepath

const std::string kOutputFilepath
static
Initial value:
=
kProjectDirectory + "/files/experiment/"

◆ kProjectDirectory

const std::string kProjectDirectory = TOSTRING(PROJECT_DIRECTORY)
static

◆ kRecorderTypes

const std::vector<Agora_recorder::RecorderWorker::RecorderWorkerTypes> kRecorderTypes
static
Initial value:
{Agora_recorder::RecorderWorker::RecorderWorkerTypes::
kRecorderWorkerMultiFile}

◆ kRecordFrameInterval

constexpr size_t kRecordFrameInterval = 1
staticconstexpr

◆ kRecordUplinkFrame

constexpr bool kRecordUplinkFrame = false
staticconstexpr

◆ kTxDataFilename

const std::string kTxDataFilename = kOutputFilepath + "tx_data.bin"
static
kProjectDirectory
static const std::string kProjectDirectory
Definition: agora.cc:24
kOutputFilepath
static const std::string kOutputFilepath
Definition: agora.cc:25