SoapySDR: Time.hpp Source File

| SoapySDR 0.7.2-ARCH 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 }
SoapySDR_timeNsToTicks
SOAPY_SDR_API long long SoapySDR_timeNsToTicks(const long long timeNs, const double rate)
SoapySDR::ticksToTimeNs
static long long ticksToTimeNs(const long long ticks, const double rate)
Definition: Time.hpp:36
SoapySDR
Definition: ConverterPrimitives.hpp:15
Config.hpp
SoapySDR::timeNsToTicks
static long long timeNsToTicks(const long long timeNs, const double rate)
Definition: Time.hpp:41
SoapySDR_ticksToTimeNs
SOAPY_SDR_API long long SoapySDR_ticksToTimeNs(const long long ticks, const double rate)
Time.h