aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-03-23 18:17:47 -0700
committerJosh Blum <josh@joshknows.com>2010-03-23 18:17:47 -0700
commit1aef83037f6a9988b06a547710afbbe5ce815459 (patch)
tree7698e49c2f4d891feb49a9b937f9da9fc6f4cbc5 /host/include
parent694dc3c7bc6f07b9660aef0c5ace9f6e11f98066 (diff)
downloaduhd-1aef83037f6a9988b06a547710afbbe5ce815459.tar.gz
uhd-1aef83037f6a9988b06a547710afbbe5ce815459.tar.bz2
uhd-1aef83037f6a9988b06a547710afbbe5ce815459.zip
Added example app to receive timed samples.
Added useful calls to simple device. Fixed vrt frac time usage (wrong word).
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/simple_device.hpp7
1 files changed, 7 insertions, 0 deletions
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
@@ -43,8 +43,15 @@ 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;