![]() |
USRP_Server
2.0
A flexible, GPU-accelerated radio-frequency readout software.
|
Go to the source code of this file.
Macros | |
#define | USRP_JSON_INCLUDED |
#define | MAX_MSG_LEN = 10000 |
Functions | |
template<typename T > | |
std::vector< T > | as_vector (boost::property_tree::ptree const &pt, boost::property_tree::ptree::key_type const &key, boost::property_tree::ptree::key_type const &sub_key="NULL") |
bool | string2param (std::string data, usrp_param &my_parameter) |
bool | is_pfb_active (param ant_parameter) |
bool | chk_param (usrp_param *parameter) |
std::string | server_ack (std::string payload) |
std::string | server_nack (std::string payload) |
#define USRP_JSON_INCLUDED |
Definition at line 3 of file USRP_JSON_interpreter.hpp.
#define MAX_MSG_LEN = 10000 |
Definition at line 7 of file USRP_JSON_interpreter.hpp.
std::vector<T> as_vector | ( | boost::property_tree::ptree const & | pt, |
boost::property_tree::ptree::key_type const & | key, | ||
boost::property_tree::ptree::key_type const & | sub_key = "NULL" |
||
) |
Definition at line 5 of file USRP_JSON_interpreter.cpp.
bool string2param | ( | std::string | data, |
usrp_param & | my_parameter | ||
) |
Definition at line 19 of file USRP_JSON_interpreter.cpp.
References ant_mode_from_string(), print_error(), and string_to_w_type_vector().
Referenced by Async_server::recv_async().
bool is_pfb_active | ( | param | ant_parameter | ) |
Definition at line 259 of file USRP_JSON_interpreter.cpp.
Referenced by chk_param().
bool chk_param | ( | usrp_param * | parameter | ) |
Definition at line 268 of file USRP_JSON_interpreter.cpp.
References is_pfb_active(), print_error(), and print_warning().
Referenced by main().
std::string server_ack | ( | std::string | payload | ) |
Definition at line 441 of file USRP_JSON_interpreter.cpp.
Referenced by main().
std::string server_nack | ( | std::string | payload | ) |
Definition at line 450 of file USRP_JSON_interpreter.cpp.
Referenced by main().