USRP_Server  2.0
A flexible, GPU-accelerated radio-frequency readout software.
Async_server Class Reference

#include <USRP_server_network.hpp>

Collaboration diagram for Async_server:
Collaboration graph

Public Member Functions

bool connected ()
 
 Async_server (bool init_verbose=false)
 
bool chk_new_command ()
 
void send_async (std::string *message)
 
bool recv_async (usrp_param &my_parameter, bool blocking=true)
 

Public Attributes

std::atomic< bool > ASYNC_SERVER_CONNECTED
 

Detailed Description

Definition at line 100 of file USRP_server_network.hpp.

Constructor & Destructor Documentation

◆ Async_server()

Async_server::Async_server ( bool  init_verbose = false)

Definition at line 373 of file USRP_server_network.cpp.

References Sync_server::connect(), reconnect_async, TCP_ASYNC_PORT, and Sync_server::verbose.

Here is the call graph for this function:

Member Function Documentation

◆ connected()

bool Async_server::connected ( )

Definition at line 369 of file USRP_server_network.cpp.

Referenced by main().

Here is the caller graph for this function:

◆ chk_new_command()

bool Async_server::chk_new_command ( )

Definition at line 393 of file USRP_server_network.cpp.

References print_debug().

Here is the call graph for this function:

◆ send_async()

void Async_server::send_async ( std::string *  message)

Definition at line 399 of file USRP_server_network.cpp.

References print_warning().

Referenced by main().

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

◆ recv_async()

bool Async_server::recv_async ( usrp_param &  my_parameter,
bool  blocking = true 
)

Definition at line 411 of file USRP_server_network.cpp.

References Sync_server::connect(), print_warning(), reconnect_async, reconnect_data, set_this_thread_name(), string2param(), TCP_ASYNC_PORT, and Sync_server::verbose.

Referenced by main().

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

Member Data Documentation

◆ ASYNC_SERVER_CONNECTED

std::atomic<bool> Async_server::ASYNC_SERVER_CONNECTED

Definition at line 105 of file USRP_server_network.hpp.


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