summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-11-03 20:29:18 -0700
committerJosh Blum <josh@joshknows.com>2011-11-03 20:37:14 -0700
commit5cdbf5b36969e12b93e720f67102dd4ab246b074 (patch)
tree8d5a1f1b82cb0dce16144dc85cb189a65c2dda22 /host/include
parentfbc5b54f49eec3f27e5a351d27260783898b0bea (diff)
downloaduhd-5cdbf5b36969e12b93e720f67102dd4ab246b074.tar.gz
uhd-5cdbf5b36969e12b93e720f67102dd4ab246b074.tar.bz2
uhd-5cdbf5b36969e12b93e720f67102dd4ab246b074.zip
usrp: multi usrp API tweak
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/usrp/multi_usrp.hpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/host/include/uhd/usrp/multi_usrp.hpp b/host/include/uhd/usrp/multi_usrp.hpp
index 0509c2f1d..5ea00565a 100644
--- a/host/include/uhd/usrp/multi_usrp.hpp
+++ b/host/include/uhd/usrp/multi_usrp.hpp
@@ -228,18 +228,23 @@ public:
virtual bool get_time_synchronized(void) = 0;
/*!
- * Set the time at which the next control command will take effect.
+ * Set the time at which the control commands will take effect.
*
- * The time spec setting only takes effect on the first command.
- * Subsequent commands will be sent ASAP unless user set time again.
- * A timed command will throttle/back-pressure all subsequent commands,
+ * A timed command will back-pressure all subsequent timed commands,
* assuming that the subsequent commands occur within the time-window.
* If the time spec is late, the command will be activated upon arrival.
*
* \param time_spec the time at which the next command will activate
* \param mboard which motherboard to set the config
*/
- virtual void set_next_command_time(const time_spec_t &time_spec, size_t mboard = ALL_MBOARDS) = 0;
+ virtual void set_command_time(const uhd::time_spec_t &time_spec, size_t mboard = ALL_MBOARDS) = 0;
+
+ /*!
+ * Clear the command time so future commands are sent ASAP.
+ *
+ * \param mboard which motherboard to set the config
+ */
+ virtual void clear_command_time(size_t mboard = ALL_MBOARDS) = 0;
/*!
* Issue a stream command to the usrp device.