From 1aef83037f6a9988b06a547710afbbe5ce815459 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 23 Mar 2010 18:17:47 -0700 Subject: Added example app to receive timed samples. Added useful calls to simple device. Fixed vrt frac time usage (wrong word). --- host/include/uhd/simple_device.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'host/include') diff --git a/host/include/uhd/simple_device.hpp b/host/include/uhd/simple_device.hpp index ad25eccdc..035757936 100644 --- a/host/include/uhd/simple_device.hpp +++ b/host/include/uhd/simple_device.hpp @@ -42,9 +42,16 @@ public: virtual std::string get_name(void) = 0; + /******************************************************************* + * Timing + ******************************************************************/ + virtual void set_time_now(const time_spec_t &time_spec) = 0; + virtual void set_time_next_pps(const time_spec_t &time_spec) = 0; + /******************************************************************* * Streaming ******************************************************************/ + virtual void set_streaming_at(const time_spec_t &time_spec) = 0; virtual void set_streaming(bool enb) = 0; virtual bool get_streaming(void) = 0; -- cgit v1.2.3