aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-10-31 14:30:52 -0700
committerMartin Braun <martin.braun@ettus.com>2016-11-08 08:02:22 -0800
commit99c2730bc9db270560671f2d7d173768465ed51f (patch)
treebc4df495734a075ebe2f7917cf67dec6fb7d8177 /host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp
parent218f4b0b63927110df9dbbaa8353c346eee2d98a (diff)
downloaduhd-99c2730bc9db270560671f2d7d173768465ed51f.tar.gz
uhd-99c2730bc9db270560671f2d7d173768465ed51f.tar.bz2
uhd-99c2730bc9db270560671f2d7d173768465ed51f.zip
Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width types)
- Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be <cstdint>, but not all of our compilers support that).
Diffstat (limited to 'host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp')
-rw-r--r--host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp b/host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp
index 1a1f1cd21..0e58f161c 100644
--- a/host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp
+++ b/host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp
@@ -42,7 +42,7 @@ nirio_status usrprio_rpc_client::niusrprio_enumerate(NIUSRPRIO_ENUMERATE_ARGS)
usrprio_rpc::func_args_writer_t in_args;
usrprio_rpc::func_args_reader_t out_args;
nirio_status status = NiRio_Status_Success;
- boost::uint32_t vtr_size = 0;
+ uint32_t vtr_size = 0;
status = _boost_error_to_nirio_status(
_rpc_client.call(NIUSRPRIO_ENUMERATE, in_args, out_args, _timeout));
@@ -68,7 +68,7 @@ nirio_status usrprio_rpc_client::niusrprio_open_session(NIUSRPRIO_OPEN_SESSION_A
const std::string& resource, \
const std::string& path, \
const std::string& signature, \
- const boost::uint16_t& download_fpga
+ const uint16_t& download_fpga
*/
{
usrprio_rpc::func_args_writer_t in_args;
@@ -81,7 +81,7 @@ nirio_status usrprio_rpc_client::niusrprio_open_session(NIUSRPRIO_OPEN_SESSION_A
in_args << download_fpga;
//Open needs a longer timeout because the FPGA download can take upto 6 secs and the NiFpga libload can take 4.
- static const boost::uint32_t OPEN_TIMEOUT = 15000;
+ static const uint32_t OPEN_TIMEOUT = 15000;
status = _boost_error_to_nirio_status(
_rpc_client.call(NIUSRPRIO_OPEN_SESSION, in_args, out_args, boost::posix_time::milliseconds(OPEN_TIMEOUT)));
@@ -163,7 +163,7 @@ nirio_status usrprio_rpc_client::niusrprio_get_interface_path(NIUSRPRIO_GET_INTE
nirio_status usrprio_rpc_client::niusrprio_download_fpga_to_flash(NIUSRPRIO_DOWNLOAD_FPGA_TO_FLASH_ARGS)
/*
#define NIUSRPRIO_DOWNLOAD_FPGA_TO_FLASH_ARGS \
- const boost::uint32_t& interface_num, \
+ const uint32_t& interface_num, \
const std::string& bitstream_path
*/
{
@@ -174,7 +174,7 @@ nirio_status usrprio_rpc_client::niusrprio_download_fpga_to_flash(NIUSRPRIO_DOWN
in_args << resource;
in_args << bitstream_path;
- static const boost::uint32_t DOWNLOAD_FPGA_TIMEOUT = 1200000;
+ static const uint32_t DOWNLOAD_FPGA_TIMEOUT = 1200000;
status = _boost_error_to_nirio_status(
_rpc_client.call(NIUSRPRIO_DOWNLOAD_FPGA_TO_FLASH, in_args, out_args,
boost::posix_time::milliseconds(DOWNLOAD_FPGA_TIMEOUT)));