VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes
makVrf::DtEnvironmentControlAreaWidget Class Reference

A widget class for managing simulation back-ends.

Inheritance diagram for makVrf::DtEnvironmentControlAreaWidget:
Inheritance graph
[legend]

Public Member Functions

 DtEnvironmentControlAreaWidget (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0)
 
virtual ~DtEnvironmentControlAreaWidget ()
 
void updateEnabledStatus ()
 
virtual void updateWeatherIcon ()
 
- Public Member Functions inherited from makVrf::DtEnvironmentControlAreaInterface
virtual ~DtEnvironmentControlAreaInterface ()
 

Public Attributes

QHBoxLayout * myMainLayout
 
QLabelmyToDLabel
 
QLabelmyWeatherIcon
 
QLabelmyIlluminationIcon
 
- Public Attributes inherited from makVrf::DtEnvironmentControlAreaInterface
boost::signals2::signal< void()> signal_timeEnvironmentSettingsRequested
 
boost::signals2::signal< void()> signal_weatherEnvironmentSettingsRequested
 

Protected Slots

virtual void updateTimeOfDay ()
 

Protected Member Functions

virtual void updateWeatherIconForWindSpeed (makVrv::DtEnvironmentInterface::DtElevationalConfigurationRecord record)
 
void setupUi (QWidget *p)
 
virtual void updateTimeZone ()
 
virtual void setTimeOfDay (int hours, int mins, int secs)
 
virtual void setDateAndTimeOfDay (int year, int month, int day, int hours, int mins, int secs)
 
virtual bool eventFilter (QObject *obj, QEvent *event)
 
virtual void slot_backendUpdated (const DtVrfBackendState &, int)
 
virtual void setIllumination (double, int sunState, const std::string &)
 
virtual void showEvent (QShowEvent *)
 
virtual void hideEvent (QHideEvent *)
 

Protected Attributes

makVrv::DtDemyDe
 
DtEnvironmentControlAreaLogicmyLogic
 
makVrv::DtSignalConnectionManager myConnectionManager
 
double myNextTimeToCheck
 
double myLastSimTime
 
float myWindSpeed
 
DtGeodeticCoord myEyepoint
 

Constructor & Destructor Documentation

makVrf::DtEnvironmentControlAreaWidget::DtEnvironmentControlAreaWidget ( makVrv::DtDe de,
QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

CTOR.

virtual makVrf::DtEnvironmentControlAreaWidget::~DtEnvironmentControlAreaWidget ( )
virtual

DTOR.

Member Function Documentation

void makVrf::DtEnvironmentControlAreaWidget::updateEnabledStatus ( )

Determines if the control area should be enabled or disabled and if the event filter should be installed or removed based on the current state of the scenario as determined by callbacks from the DtVrfSimBackendManager and the DtVrfScenarioManager.

virtual void makVrf::DtEnvironmentControlAreaWidget::updateWeatherIcon ( )
virtual
virtual void makVrf::DtEnvironmentControlAreaWidget::updateWeatherIconForWindSpeed ( makVrv::DtEnvironmentInterface::DtElevationalConfigurationRecord  record)
protectedvirtual
void makVrf::DtEnvironmentControlAreaWidget::setupUi ( QWidget *  p)
protected

Sets up the contents of the widget onto the supplied parent.

virtual void makVrf::DtEnvironmentControlAreaWidget::updateTimeZone ( )
protectedvirtual
virtual void makVrf::DtEnvironmentControlAreaWidget::setTimeOfDay ( int  hours,
int  mins,
int  secs 
)
protectedvirtual
virtual void makVrf::DtEnvironmentControlAreaWidget::setDateAndTimeOfDay ( int  year,
int  month,
int  day,
int  hours,
int  mins,
int  secs 
)
protectedvirtual
virtual bool makVrf::DtEnvironmentControlAreaWidget::eventFilter ( QObject obj,
QEvent event 
)
protectedvirtual

Processes mouse clicks on myToDLabel (when the control area is enabled).

virtual void makVrf::DtEnvironmentControlAreaWidget::slot_backendUpdated ( const DtVrfBackendState ,
int   
)
protectedvirtual

Calls updateEnabledStatus.

virtual void makVrf::DtEnvironmentControlAreaWidget::setIllumination ( double  ,
int  sunState,
const std::string &   
)
protectedvirtual
virtual void makVrf::DtEnvironmentControlAreaWidget::showEvent ( QShowEvent *  )
protectedvirtual
virtual void makVrf::DtEnvironmentControlAreaWidget::hideEvent ( QHideEvent *  )
protectedvirtual
virtual void makVrf::DtEnvironmentControlAreaWidget::updateTimeOfDay ( )
protectedvirtualslot

Member Data Documentation

QHBoxLayout* makVrf::DtEnvironmentControlAreaWidget::myMainLayout
QLabel* makVrf::DtEnvironmentControlAreaWidget::myToDLabel
QLabel* makVrf::DtEnvironmentControlAreaWidget::myWeatherIcon
QLabel* makVrf::DtEnvironmentControlAreaWidget::myIlluminationIcon
makVrv::DtDe& makVrf::DtEnvironmentControlAreaWidget::myDe
protected
DtEnvironmentControlAreaLogic* makVrf::DtEnvironmentControlAreaWidget::myLogic
protected
makVrv::DtSignalConnectionManager makVrf::DtEnvironmentControlAreaWidget::myConnectionManager
protected
double makVrf::DtEnvironmentControlAreaWidget::myNextTimeToCheck
protected
double makVrf::DtEnvironmentControlAreaWidget::myLastSimTime
protected
float makVrf::DtEnvironmentControlAreaWidget::myWindSpeed
protected
DtGeodeticCoord makVrf::DtEnvironmentControlAreaWidget::myEyepoint
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)