PlaybackScrubber.hh
Go to the documentation of this file.
The EntityComponentManager constructs, deletes, and returns components and entities....
Definition: gz/sim/EntityComponentManager.hh:67
Provides slider and functionality for log playback. to the scene.
Definition: PlaybackScrubber.hh:36
double Progress()
Get the current progress as a percentage of how far the log playback has advanced.
void Update(const UpdateInfo &, EntityComponentManager &) override
Update callback called every time the system is stepped. This is called at an Ignition transport thre...
QString EndTimeAsString()
Get the end time of the log playback.
double CalculateProgress()
Calculate the percentage that _currentTime, eg, halfway through the log would evaluate to 0....
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.
void OnDrop(double _value)
Callback in Qt thread when the slider is released.
QString CurrentTimeAsString()
Get the current time of the log playback.
QString StartTimeAsString()
Get the starting time of the log playback.
void LoadConfig(const tinyxml2::XMLElement *_pluginElem) override
Information passed to systems on the update callback.
Definition: include/gz/sim/Types.hh:39