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

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

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

Public Member Functions

 DtDateAndTimeInterface ()
 Default CTOR.
virtual ~DtDateAndTimeInterface ()
 Virtual DTOR.
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

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

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 Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)