USRP_Server  2.0
A flexible, GPU-accelerated radio-frequency readout software.
USRP_server_settings.cpp File Reference
Include dependency graph for USRP_server_settings.cpp:

Go to the source code of this file.

Functions

std::string w_type_to_str (w_type enumerator)
 
w_type string_to_w_type (std::string input_string)
 
std::vector< w_type > string_to_w_type_vector (std::vector< std::string > string_vector)
 
std::string ant_mode_to_str (ant_mode enumerator)
 
ant_mode ant_mode_from_string (std::string str)
 
std::string get_front_end_name (char code)
 
void Thread_Prioriry (boost::thread &Thread, int priority, int affinity)
 
void SetThreadName (boost::thread *thread, const char *threadName)
 

Variables

int TCP_SYNC_PORT = 61360
 
int TCP_ASYNC_PORT = 22001
 
std::string device_arguments = "noarg"
 

Function Documentation

◆ w_type_to_str()

std::string w_type_to_str ( w_type  enumerator)

Definition at line 8 of file USRP_server_settings.cpp.

Referenced by print_params(), and H5_file_writer::update_pointers().

Here is the caller graph for this function:

◆ string_to_w_type()

w_type string_to_w_type ( std::string  input_string)

Definition at line 37 of file USRP_server_settings.cpp.

Referenced by string_to_w_type_vector().

Here is the caller graph for this function:

◆ string_to_w_type_vector()

std::vector<w_type> string_to_w_type_vector ( std::vector< std::string >  string_vector)

Definition at line 55 of file USRP_server_settings.cpp.

References string_to_w_type().

Referenced by string2param().

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

◆ ant_mode_to_str()

std::string ant_mode_to_str ( ant_mode  enumerator)

Definition at line 63 of file USRP_server_settings.cpp.

Referenced by print_params(), and H5_file_writer::update_pointers().

Here is the caller graph for this function:

◆ ant_mode_from_string()

ant_mode ant_mode_from_string ( std::string  str)

Definition at line 80 of file USRP_server_settings.cpp.

References print_error(), and print_warning().

Referenced by string2param().

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

◆ get_front_end_name()

std::string get_front_end_name ( char  code)

Definition at line 161 of file USRP_server_settings.cpp.

Referenced by H5_file_writer::update_pointers().

Here is the caller graph for this function:

◆ Thread_Prioriry()

void Thread_Prioriry ( boost::thread &  Thread,
int  priority,
int  affinity 
)

Definition at line 185 of file USRP_server_settings.cpp.

References print_debug(), print_error(), and print_warning().

Referenced by preallocator< float2 >::preallocator(), TXRX::start(), hardware_manager::start_rx(), and hardware_manager::start_tx().

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

◆ SetThreadName()

void SetThreadName ( boost::thread *  thread,
const char *  threadName 
)

Definition at line 218 of file USRP_server_settings.cpp.

Referenced by TXRX::start(), hardware_manager::start_rx(), and hardware_manager::start_tx().

Here is the caller graph for this function:

Variable Documentation

◆ TCP_SYNC_PORT

int TCP_SYNC_PORT = 61360

Definition at line 3 of file USRP_server_settings.cpp.

Referenced by Sync_server::clear_stream_queue(), and TXRX::TXRX().

◆ TCP_ASYNC_PORT

int TCP_ASYNC_PORT = 22001

Definition at line 4 of file USRP_server_settings.cpp.

Referenced by Async_server::Async_server(), and Async_server::recv_async().

◆ device_arguments

std::string device_arguments = "noarg"

Definition at line 6 of file USRP_server_settings.cpp.

Referenced by hardware_manager::hardware_manager(), and main().