VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtDateAndTimeInterface Class Referenceabstract

Abstract interface for a date and time widget. More...

Inheritance diagram for makVrv::DtDateAndTimeInterface:
Inheritance graph
[legend]

Public Member Functions

 DtDateAndTimeInterface ()
 Default CTOR. More...
 
virtual ~DtDateAndTimeInterface ()
 Virtual DTOR. More...
 
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. More...
 
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. More...
 
virtual void setTimeScale (double timeScale)=0
 Changed the time scale. More...
 
virtual void activate ()=0
 Activate this widget. More...
 
virtual void deactivate ()=0
 Deactivate this widget. More...
 

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
 

Detailed Description

Abstract interface for a date and time widget.

Constructor & Destructor Documentation

makVrv::DtDateAndTimeInterface::DtDateAndTimeInterface ( )

Default CTOR.

virtual makVrv::DtDateAndTimeInterface::~DtDateAndTimeInterface ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual void makVrv::DtDateAndTimeInterface::setDateAndTime ( int  year,
int  month,
int  day,
int  hours,
int  minutes,
double  seconds 
)
pure virtual

Set the date and time of the widget.

Parameters
[in]yearis the numerical year (all digits required).
[in]monthis the numerical month of the year (1 - 12).
[in]dayis the numerical day of the month (1 - 31).
[in]hoursis the numerical hour of the day (0 - 23).
[in]minutesis the numerical minutes of the day (0 - 59).
[in]secondsis the seconds of the day (0.0 - 59.999).

Implemented in makVrv::DtDateAndTimeWidget.

virtual void makVrv::DtDateAndTimeInterface::setTimeScale ( double  timeScale)
pure virtual

Changed the time scale.

Parameters
[in]timeScaleis a multiplier for scaling time (default 1.0).

Implemented in makVrv::DtDateAndTimeWidget, and makVrf::DtVrfEnvironmentConditionsDateAndTimeWidget.

virtual void makVrv::DtDateAndTimeInterface::activate ( )
pure virtual
virtual void makVrv::DtDateAndTimeInterface::deactivate ( )
pure virtual
virtual void makVrv::DtDateAndTimeInterface::setWidgetsEnabled ( bool  isEnabled)
pure virtual

Enable or disable all the date and time widgets on this widget Widgets are disabled when listening to remote weather.

Parameters
[in]isEnableddetermines whether or not the widgets are activated

Implemented in makVrv::DtDateAndTimeWidget.

Member Data Documentation

boost::signal<void ()> makVrv::DtDateAndTimeInterface::signal_timeUpdateRequested
boost::signal<void (int, int, double)> makVrv::DtDateAndTimeInterface::signal_changeTime
boost::signal<void (int, int , int)> makVrv::DtDateAndTimeInterface::signal_changeDate
boost::signal<void (double)> makVrv::DtDateAndTimeInterface::signal_changeTimeScale

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)