delphyne_gui
|
Implements a playback plugin.
See PlaybackPlugin.qml to complete understand how the view is connected to each QProperty.
#include <visualizer/playback_plugin/playback_plugin.hh>
Signals | |
void | SimTimeChanged () |
Signals to notify that properties changed. More... | |
void | CurrentTimeChanged () |
void | SliderValueChanged () |
void | IsSliderPressedChanged () |
Public Member Functions | |
PlaybackPlugin () | |
Constructor. More... | |
virtual | ~PlaybackPlugin ()=default |
Destructor. More... | |
virtual void | LoadConfig (const tinyxml2::XMLElement *_pluginElem) override |
Called by Ignition GUI when plugin is instantiated. More... | |
Q_INVOKABLE QString | SimTime () const |
Q_INVOKABLE QString | CurrentTime () const |
Q_INVOKABLE QString | SliderValue () const |
Q_INVOKABLE bool | IsSliderPressed () const |
Q_INVOKABLE void | SetSimTime (const QString &_simTime) |
Q_INVOKABLE void | SetCurrentTime (const QString &_currentTime) |
Q_INVOKABLE void | SetSliderValue (const QString &_sliderValue) |
Q_INVOKABLE void | SetIsSliderPressed (bool _isSliderPressed) |
Protected Slots | |
void | OnRewindButtonPush () |
void | OnPauseButtonPush () |
void | OnPlayButtonPush () |
void | OnStepButtonPush (const QString &_stepValue) |
QString | OnSliderDrop (const QString &_sliderValue) |
Properties | |
QString | simTime |
Holds sim time. More... | |
QString | currentTime |
Holds current time. More... | |
QString | sliderValue |
Holds slider value. More... | |
bool | isSliderPressed {false} |
Holds the status of the slider. More... | |
PlaybackPlugin | ( | ) |
Constructor.
|
virtualdefault |
Destructor.
QString CurrentTime | ( | ) | const |
|
signal |
Q_INVOKABLE bool IsSliderPressed | ( | ) | const |
|
signal |
|
overridevirtual |
Called by Ignition GUI when plugin is instantiated.
[in] | _pluginElem | XML configuration for this plugin. |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
void SetCurrentTime | ( | const QString & | _currentTime | ) |
Q_INVOKABLE void SetIsSliderPressed | ( | bool | _isSliderPressed | ) |
void SetSimTime | ( | const QString & | _simTime | ) |
void SetSliderValue | ( | const QString & | _sliderValue | ) |
QString SimTime | ( | ) | const |
|
signal |
Signals to notify that properties changed.
QString SliderValue | ( | ) | const |
|
signal |
|
readwrite |
Holds current time.
|
readwrite |
Holds the status of the slider.
|
readwrite |
Holds sim time.
|
readwrite |
Holds slider value.