diff options
| -rw-r--r-- | host/include/uhd/usrp/multi_usrp.hpp | 15 | ||||
| -rw-r--r-- | host/lib/usrp/multi_usrp.cpp | 6 | 
2 files changed, 15 insertions, 6 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. diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp index d53004259..1110f5ebd 100644 --- a/host/lib/usrp/multi_usrp.cpp +++ b/host/lib/usrp/multi_usrp.cpp @@ -347,7 +347,11 @@ public:          return true;      } -    void set_next_command_time(const time_spec_t &, size_t){ +    void set_command_time(const time_spec_t &, size_t){ +        throw uhd::not_implemented_error("Not implemented yet, but we have a very good idea of how to do it."); +    } + +    void clear_command_time(size_t){          throw uhd::not_implemented_error("Not implemented yet, but we have a very good idea of how to do it.");      } | 
