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 () override
 
void updateEnabledStatus ()
 
virtual void updateWeatherIcon () override
 
- 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) override
 
void setupUi (QWidget *p)
 
virtual void updateTimeZone ()
 
virtual void setTimeOfDay (int hours, int mins, int secs) override
 
virtual void setDateAndTimeOfDay (int year, int month, int day, int hours, int mins, int secs) override
 
virtual bool eventFilter (QObject *obj, QEvent *event) override
 
virtual void slot_backendUpdated (const DtVrfBackendState &, int)
 
virtual void setIllumination (double, int sunState, const std::string &) override
 
virtual void showEvent (QShowEvent *) override
 
virtual void hideEvent (QHideEvent *) override
 

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 ( )
overridevirtual

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 ( )
overridevirtual
virtual void makVrf::DtEnvironmentControlAreaWidget::updateWeatherIconForWindSpeed ( makVrv::DtEnvironmentInterface::DtElevationalConfigurationRecord  record)
overrideprotectedvirtual
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 
)
overrideprotectedvirtual
virtual void makVrf::DtEnvironmentControlAreaWidget::setDateAndTimeOfDay ( int  year,
int  month,
int  day,
int  hours,
int  mins,
int  secs 
)
overrideprotectedvirtual
virtual bool makVrf::DtEnvironmentControlAreaWidget::eventFilter ( QObject obj,
QEvent event 
)
overrideprotectedvirtual

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 &   
)
overrideprotectedvirtual
virtual void makVrf::DtEnvironmentControlAreaWidget::showEvent ( QShowEvent *  )
overrideprotectedvirtual
virtual void makVrf::DtEnvironmentControlAreaWidget::hideEvent ( QHideEvent *  )
overrideprotectedvirtual
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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)