PlaybackScrubber.hh
This library is part of the Gazebo project.
The EntityComponentManager constructs, deletes, and returns components and entities....
Definition: gz/sim/EntityComponentManager.hh:66
void OnTimeEntered(const QString &_time)
Callback when a time is entered by the user.
void newProgress()
Notify that progress has advanced in the log file.
double CalculateProgress()
Calculate the percentage that _currentTime, eg, halfway through the log would evaluate to 0....
Information passed to systems on the update callback.
Definition: include/gz/sim/Types.hh:38
Provides slider and functionality for log playback. to the scene.
Definition: PlaybackScrubber.hh:35
void OnDrop(double _value)
Callback in Qt thread when the slider is released.
double Progress()
Get the current progress as a percentage of how far the log playback has advanced.
QString StartTimeAsString()
Get the starting time of the log playback.
void LoadConfig(const tinyxml2::XMLElement *_pluginElem) override
QString EndTimeAsString()
Get the end time of the log playback.
QString CurrentTimeAsString()
Get the current time of the log playback.
void Update(const UpdateInfo &, EntityComponentManager &) override
Update callback called every time the system is stepped. This is called at an Ignition transport thre...