SoapySDR  0.4.4-gdb459f4f
Vendor and platform neutral SDR interface library
Time.hpp
Go to the documentation of this file.
1 
11 #pragma once
12 #include <SoapySDR/Config.hpp>
13 #include <SoapySDR/Time.h>
14 
15 namespace SoapySDR
16 {
17 
24 static inline long long ticksToTimeNs(const long long ticks, const double rate);
25 
32 static inline long long timeNsToTicks(const long long timeNs, const double rate);
33 
34 }
35 
36 static inline long long SoapySDR::ticksToTimeNs(const long long ticks, const double rate)
37 {
38  return SoapySDR_ticksToTimeNs(ticks, rate);
39 }
40 
41 static inline long long SoapySDR::timeNsToTicks(const long long timeNs, const double rate)
42 {
43  return SoapySDR_timeNsToTicks(timeNs, rate);
44 }
static long long timeNsToTicks(const long long timeNs, const double rate)
Definition: Time.hpp:41
SOAPY_SDR_API long long SoapySDR_ticksToTimeNs(const long long ticks, const double rate)
Definition: Device.hpp:21
static long long ticksToTimeNs(const long long ticks, const double rate)
Definition: Time.hpp:36
SOAPY_SDR_API long long SoapySDR_timeNsToTicks(const long long timeNs, const double rate)