X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Ftimeitem.hpp;fp=pv%2Fviews%2Ftrace%2Ftimeitem.hpp;h=e0114a5aca8e36a9434c1fe3b92aec8d2f487d37;hp=c9b322c7703c1d44287e9f14232e98697f1ca24d;hb=e4e951b7fcfa4c6bf36547d0106bfa730fceb92c;hpb=9f094349d415a37ec30fa2aa2bb6c979c03d6bc1 diff --git a/pv/views/trace/timeitem.hpp b/pv/views/trace/timeitem.hpp index c9b322c7..e0114a5a 100644 --- a/pv/views/trace/timeitem.hpp +++ b/pv/views/trace/timeitem.hpp @@ -49,6 +49,10 @@ public: */ virtual void set_time(const pv::util::Timestamp& time) = 0; + /** + * Returns the time this time item is set to. + * @return 0 in case there is no valid time (e.g. for a cursor pair) + */ virtual const pv::util::Timestamp time() const = 0; virtual float get_x() const = 0;