Agora  1.2.0
Agora project
mac_data_receiver.h
Go to the documentation of this file.
1 
5 #ifndef MAC_DATA_RECEIVER_H_
6 #define MAC_DATA_RECEIVER_H_
7 
8 #include <cstddef>
9 
14  public:
15  virtual size_t Load(unsigned char *destination, size_t requested_bytes) = 0;
16 
17  protected:
18  inline MacDataReceiver() = default;
19  virtual ~MacDataReceiver() = default;
20 };
21 
22 #endif // MAC_DATA_RECEIVER_H_
FrameStats::GetDLDataSymbol
size_t GetDLDataSymbol(size_t location) const
Definition: framestats.h:34
MacDataReceiver::Load
virtual size_t Load(unsigned char *destination, size_t requested_bytes)=0
PinToCoreWithOffset
void PinToCoreWithOffset(ThreadType thread_type, size_t core_offset, size_t thread_id, bool allow_reuse, bool verbose)
Definition: utils.cc:157
fmt::v8::printf
auto printf(const S &fmt, const T &... args) -> int
Definition: printf.h:631
SignalHandler
Definition: signal_handler.h:14
version_config.h
Agora project version configuration file.
main
int main(int argc, char *argv[])
Definition: mac_client.cc:39
GetAgoraProjectVersion
const std::string & GetAgoraProjectVersion()
Definition: version_config.h:10
AGORA_LOG_INIT
#define AGORA_LOG_INIT()
Definition: logger.h:35
SignalHandler::GotExitSignal
static bool GotExitSignal()
Definition: signal_handler.cc:23
mac_receiver.h
Declaration file for the simple mac receiver class.
TOSTRING
#define TOSTRING(x)
Definition: symbols.h:14
signal_handler.h
Direction::kUplink
@ kUplink
Catch::cerr
std::ostream & cerr()
matplotlibcpp::fill
bool fill(const std::vector< Numeric > &x, const std::vector< Numeric > &y, const std::map< std::string, std::string > &keywords)
Definition: matplotlibcpp.h:790
filename
filename
Definition: parse_all_dl.m:14
mac_sender.h
Declaration file for the simple mac sender class.
i
for i
Definition: generate_data.m:107
main
int main(int argc, char *argv[])
Definition: mac_basestation.cc:41
Direction::kDownlink
@ kDownlink
MacDataReceiver::MacDataReceiver
MacDataReceiver()=default
kNumStatsFrames
static constexpr size_t kNumStatsFrames
Definition: symbols.h:300
MacDataReceiver::~MacDataReceiver
virtual ~MacDataReceiver()=default
MacDataReceiver
The MacDataReceiver interface class.
Definition: mac_data_receiver.h:13
DEFINE_uint64
DEFINE_uint64(num_sender_worker_threads, 1, "Number of mac client sender worker threads")
frame_start
frame_start
Definition: parse_dl_file.m:6
FrameStats::GetULDataSymbol
size_t GetULDataSymbol(size_t location) const
Definition: framestats.h:44
AGORA_LOG_INFO
#define AGORA_LOG_INFO(...)
Definition: logger.h:62
AGORA_LOG_SHUTDOWN
#define AGORA_LOG_SHUTDOWN()
Definition: logger.h:36
ThreadType::kMaster
@ kMaster
PrintCoreAssignmentSummary
void PrintCoreAssignmentSummary()
Definition: utils.cc:85
DEFINE_uint64
DEFINE_uint64(num_sender_worker_threads, 1, "Number of mac basestation sender worker threads")
SignalHandler::SetupSignalHandlers
void SetupSignalHandlers()
Definition: signal_handler.cc:44
SignalException
Definition: signal_handler.h:8
DEFINE_string
DEFINE_string(conf_file, TOSTRING(PROJECT_DIRECTORY) "/files/config/examples/bs-mac-sim.json", "Config filename")
frame_duration
frame_duration
Definition: parse_dl_file.m:27
DEFINE_string
DEFINE_string(conf_file, TOSTRING(PROJECT_DIRECTORY) "/files/config/examples/ue-mac-sim.json", "Config filename")