![]() |
VR-Forces 4.7 Class Documentation
|
Abstract interface for a date and time widget. More...

Public Member Functions | |
| DtDateAndTimeInterface () | |
| Default CTOR. | |
| virtual | ~DtDateAndTimeInterface () |
| Virtual DTOR. | |
| virtual void | setWidgetsEnabled (bool isEnabled)=0 |
| Enable or disable all the date and time widgets on this widget Widgets are disabled when listening to remote weather. | |
Field value setters. | |
Sets the values of the widget's corresponding fields. | |
| virtual void | setDateAndTime (int year, int month, int day, int hours, int minutes, double seconds)=0 |
| Set the date and time of the widget. | |
| virtual void | setTimeScale (double timeScale)=0 |
| Changed the time scale. | |
| virtual void | activate ()=0 |
| Activate this widget. | |
| virtual void | deactivate ()=0 |
| Deactivate this widget. | |
Public Attributes | |
Field value update signals. | |
Signals emitted when widget has updated values. | |
| boost::signal< void()> | signal_timeUpdateRequested |
| boost::signal< void(int, int, double)> | signal_changeTime |
| boost::signal< void(int, int, int)> | signal_changeDate |
| boost::signal< void(double)> | signal_changeTimeScale |
Abstract interface for a date and time widget.
| makVrv::DtDateAndTimeInterface::DtDateAndTimeInterface | ( | ) |
Default CTOR.
|
virtual |
Virtual DTOR.
|
pure virtual |
Set the date and time of the widget.
| [in] | year | is the numerical year (all digits required). |
| [in] | month | is the numerical month of the year (1 - 12). |
| [in] | day | is the numerical day of the month (1 - 31). |
| [in] | hours | is the numerical hour of the day (0 - 23). |
| [in] | minutes | is the numerical minutes of the day (0 - 59). |
| [in] | seconds | is the seconds of the day (0.0 - 59.999). |
Implemented in makVrv::DtDateAndTimeWidget.
|
pure virtual |
Changed the time scale.
| [in] | timeScale | is a multiplier for scaling time (default 1.0). |
Implemented in makVrv::DtDateAndTimeWidget, and makVrf::DtVrfEnvironmentConditionsDateAndTimeWidget.
|
pure virtual |
Activate this widget.
Implemented in makVrv::DtDateAndTimeWidget, and makVrf::DtVrfEnvironmentConditionsDateAndTimeWidget.
|
pure virtual |
Deactivate this widget.
Implemented in makVrv::DtDateAndTimeWidget, and makVrf::DtVrfEnvironmentConditionsDateAndTimeWidget.
|
pure virtual |
Enable or disable all the date and time widgets on this widget Widgets are disabled when listening to remote weather.
| [in] | isEnabled | determines whether or not the widgets are activated |
Implemented in makVrv::DtDateAndTimeWidget.
| boost::signal<void ()> makVrv::DtDateAndTimeInterface::signal_timeUpdateRequested |
| boost::signal<void (double)> makVrv::DtDateAndTimeInterface::signal_changeTimeScale |