summaryrefslogtreecommitdiff
path: root/gr-usrp2/src/usrp2_sink_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-usrp2/src/usrp2_sink_base.h')
-rw-r--r--gr-usrp2/src/usrp2_sink_base.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gr-usrp2/src/usrp2_sink_base.h b/gr-usrp2/src/usrp2_sink_base.h
index 38dc4f236..d831d4df6 100644
--- a/gr-usrp2/src/usrp2_sink_base.h
+++ b/gr-usrp2/src/usrp2_sink_base.h
@@ -37,6 +37,9 @@ protected:
const std::string &mac)
throw (std::runtime_error);
+ bool d_should_wait;
+ usrp2::fpga_timestamp d_tx_time;
+
public:
~usrp2_sink_base();
@@ -139,6 +142,11 @@ public:
* \brief Read daughterboard GPIO pin values
*/
bool read_gpio(uint16_t *value);
+
+ /*!
+ * \brief First samples begin streaming to USRP2 at given time
+ */
+ bool start_streaming_at(usrp2::fpga_timestamp time);
};
#endif /* INCLUDED_USRP2_SINK_BASE_H */