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
makVrv::DtComponentSignaler Class Reference

A DtComponentSignaler holds various signals that can be caught by the DtCigiDriver so that it can change various settings in the IG.

Public Member Functions

 DtComponentSignaler ()
 
virtual ~DtComponentSignaler ()
 

Public Attributes

boost::signalslib::signal
< void(bool onOff)> 
signal_wireFrameRenderingSet
 
boost::signalslib::signal
< void(bool onOff)> 
signal_performanceOverlaySet
 
boost::signalslib::signal
< void(bool onOff, int quality)> 
signal_shadowsSet
 
boost::signalslib::signal
< void(float scale, float
highLodAngle)> 
signal_pagerLodControlSet
 
boost::signalslib::signal
< void(bool enabled, int
precipType, double intensity)> 
signal_precipitationSet
 
boost::signalslib::signal
< void(float baseMSLAltitude,
float windSpeed, float
windDirection, float
visibilityDistance, unsigned
int obscurant)> 
signal_atmosphericLayerSet
 
boost::signalslib::signal
< void(float windSpeed, float
windDirection)> 
signal_windSpeedAndDirectionSet
 
boost::signalslib::signal
< void(float visibility)> 
signal_visibilitySet
 
boost::signalslib::signal
< void(std::string
conditionName)> 
signal_environmentalConditionChanged
 
boost::signalslib::signal
< void(float r, float g, float
b)> 
signal_fogColorChanged
 
boost::signalslib::signal
< void(float currentSpeed,
float currentDirection)> 
signal_waterCurrentSpeedAndDirectionSet
 
boost::signalslib::signal
< void(std::string
lightPointGroupName, float r,
float g, float b, float a)> 
signal_lightPointGroupColorSet
 
boost::signalslib::signal
< void(bool isWindDriven)> 
signal_windDrivenSeaStateSet
 
boost::signalslib::signal
< void(float clarity)> 
signal_waterSurfaceTransparencySet
 
boost::signalslib::signal
< void(bool whiteCapsEnabled)> 
signal_waterChoppinessSet
 
boost::signalslib::signal
< void(float seaLevel)> 
signal_seaLevelSet
 
boost::signalslib::signal
< void(int douglasSeaState)> 
signal_seaStateSet
 
boost::signalslib::signal
< void(float direction)> 
signal_seaStateDirectionSet
 
boost::signalslib::signal
< void(int douglasSeaSwell)> 
signal_seaSwellStateSet
 
boost::signalslib::signal
< void(float direction)> 
signal_seaSwellStateDirectionSet
 
boost::signalslib::signal
< void(float, float, float,
float)> 
signal_snowAccumulationSettingsChanged
 
boost::signalslib::signal
< void(float)> 
signal_rainAccumulationSettingsChanged
 
boost::signalslib::signal
< void(int viewId, float
magValue)> 
signal_viewMagnificationSet
 
boost::signalslib::signal
< void(int viewId, float
lodScale)> 
signal_lodScaleSet
 
boost::signalslib::signal
< void(int viewId,
DtCigiViewManager::DtViewControlAction,
unsigned int artPartId)> 
signal_attachViewToArtPart
 
boost::signalslib::signal
< void(int viewId, bool
enabled)> 
signal_channelEnabledSet
 
boost::signalslib::signal
< void(unsigned int sensorId,
unsigned int centerX, unsigned
int centerY, unsigned int
boxWidth, unsigned int
boxHeight, bool render)> 
signal_sensorTrackAcquisitionBoxComponentReceived
 

Constructor & Destructor Documentation

makVrv::DtComponentSignaler::DtComponentSignaler ( )
virtual makVrv::DtComponentSignaler::~DtComponentSignaler ( )
virtual

Member Data Documentation

boost::signalslib::signal<void(bool onOff)> makVrv::DtComponentSignaler::signal_wireFrameRenderingSet

Signal raised when a (System) Component Control Packet arrives with wireframe mode.

boost::signalslib::signal<void(bool onOff)> makVrv::DtComponentSignaler::signal_performanceOverlaySet

Signal raised when a (System) Component Control Packet arrives with performance overlay mode.

boost::signalslib::signal<void(bool onOff, int quality)> makVrv::DtComponentSignaler::signal_shadowsSet

Signal raised when a (System) Component Control Packet arrives with shadow settings Quality is 1-4 with 4 being the highest quality.

boost::signalslib::signal<void(float scale, float highLodAngle)> makVrv::DtComponentSignaler::signal_pagerLodControlSet

Signal raised when a (System) Component Control Packet arrives with Pager LOD Scale and high LOD angle.

boost::signalslib::signal<void(int viewId, float magValue)> makVrv::DtComponentSignaler::signal_viewMagnificationSet

Signal raised when a (View) Component Control Packet arrives with view magnification.

boost::signalslib::signal<void(int viewId, float lodScale)> makVrv::DtComponentSignaler::signal_lodScaleSet

Signal raised when a (View) Component Control Packet arrives with lod scaling.

boost::signalslib::signal<void( int viewId, DtCigiViewManager::DtViewControlAction, unsigned int artPartId )> makVrv::DtComponentSignaler::signal_attachViewToArtPart

Signal raised when a Componenet Control attaches a View/ViewGroup to an articulated part on an entity.

boost::signalslib::signal<void( int viewId, bool enabled)> makVrv::DtComponentSignaler::signal_channelEnabledSet

Signal raised when a (View) Component Control Packet arrives to turn a view / channel off or on.

boost::signalslib::signal<void( unsigned int sensorId, unsigned int centerX, unsigned int centerY, unsigned int boxWidth, unsigned int boxHeight, bool render )> makVrv::DtComponentSignaler::signal_sensorTrackAcquisitionBoxComponentReceived

Signal raised when a sensor component control packet arrives Signal is caught by the DtCigiSensorController() to set / modify an acquisition box on screen.

boost::signalslib::signal<void(bool enabled, int precipType, double intensity)> makVrv::DtComponentSignaler::signal_precipitationSet

Signal raised when a Weather Control Packet arrives with precipitation data Signal raised when a Weather Control Packet arrives with precipitation data PrecipType is 0,1,2 for rain/snow/hail respectively. Intensity is a value from 0. to 1.

boost::signalslib::signal<void(float baseMSLAltitude, float windSpeed, float windDirection, float visibilityDistance, unsigned int obscurant)> makVrv::DtComponentSignaler::signal_atmosphericLayerSet

This method is used for vsibility, wind speed, dir, obscurant when a Weather Control Packet arrives Base MSL Altitude is in meters (what happens if this is at 1000m, say, and we don't have a layer for that?? Wind speed is in meters per second. Wind direction is in radians from true north, clockwise. Visibility distance is in meters. Obscurant is an enumerated value that corresponds to those in the makArchives::VisibilityObscurant enumeration and is mapped from the LayerID field. Note that currently the only thing that matters about obscurant is that it is either makArchives::VisibilityObscurant::None (in which case visibility is ignored), or NOT makArchives::VisibilityObscurant::None (in which case visibility is used)

boost::signalslib::signal<void(float windSpeed, float windDirection)> makVrv::DtComponentSignaler::signal_windSpeedAndDirectionSet

Signal raised when a Atmospheric Control Packet arrives with global wind data.

boost::signalslib::signal<void(float visibility)> makVrv::DtComponentSignaler::signal_visibilitySet

Signal raised when a Atmospheric Control Packet arrives with global visibility data

Visibility is in meters

boost::signalslib::signal<void(std::string conditionName)> makVrv::DtComponentSignaler::signal_environmentalConditionChanged

Signal raised when an atmosphere control packet is processed that changes the current environmental condition (component ID 1). Component state values are mapped in the CIGI mappings.

boost::signalslib::signal<void(float r, float g, float b)> makVrv::DtComponentSignaler::signal_fogColorChanged

Signal raised when an atmosphere component control packet is processed that changes the current silverlining fog color (component ID 2). Silverlining Fog color is specified as three normalized color (float) rgb values This is NOT ground fog.

boost::signalslib::signal<void (float currentSpeed, float currentDirection)> makVrv::DtComponentSignaler::signal_waterCurrentSpeedAndDirectionSet

Signal raised when a Component Control Packet arrives with tidal curremt information (used for tidal wakes on buoys and beacons) Speed is m/s, direction is in radians.

boost::signalslib::signal<void(std::string lightPointGroupName, float r, float g, float b, float a)> makVrv::DtComponentSignaler::signal_lightPointGroupColorSet

Signal raised when a Component Control Packet arrives with light point group information (used for setting the light point group color)

boost::signalslib::signal<void(bool isWindDriven)> makVrv::DtComponentSignaler::signal_windDrivenSeaStateSet

Signal raises when a maritime packet arrives and changes whether the sea state is wind driven.

boost::signalslib::signal<void(float clarity)> makVrv::DtComponentSignaler::signal_waterSurfaceTransparencySet

Signal raises when a maritime packet arrives and sets the water surface clarity. Value is a percentage, 0. to 100.

boost::signalslib::signal<void(bool whiteCapsEnabled)> makVrv::DtComponentSignaler::signal_waterChoppinessSet

Signal raises when a maritime packet arrives and sets the the choppiness from the white cap enable 0 or 1.

boost::signalslib::signal<void(float seaLevel)> makVrv::DtComponentSignaler::signal_seaLevelSet

Signal raises when a maritime packet arrives and changes whether the sea height/level is set.

boost::signalslib::signal<void(int douglasSeaState)> makVrv::DtComponentSignaler::signal_seaStateSet

Signal raised when a wave control packet is processed The douglas Sea state is calculated from the wave height. It's a member of the DtDouglasSeaState:Scale enumeration (cast to an integer)

boost::signalslib::signal<void(float direction)> makVrv::DtComponentSignaler::signal_seaStateDirectionSet

Signal raise when a wave control packet is processed and changes the direction of the sea state. Direction is in radians.

boost::signalslib::signal<void(int douglasSeaSwell)> makVrv::DtComponentSignaler::signal_seaSwellStateSet

Signal raise when a wave control packet is processed and changes the sea swell value. The Douglas Sea Swell value is calculated from the CIGI-provided Wave length and wave height. Its a member of the DtDouglasSwellState:Scale enumeration, cast to an integer.

boost::signalslib::signal<void(float direction)> makVrv::DtComponentSignaler::signal_seaSwellStateDirectionSet

Signal raise when a wave control packet is processed and changes the direction of the sea swell. Direction is in radians.

boost::signalslib::signal<void(float, float, float, float)> makVrv::DtComponentSignaler::signal_snowAccumulationSettingsChanged

Signal raised when snow accumulation settings are set Parameters are Depth(coverage) . 0.- – m. (for now, 0. to 0.1 mm treated as a 0-100 percentage coverage) Road Depth(coverage) 0.- – m. (for now, 0. to 0.1 mm treated as a 0-100 percentage coverage) Min Elevation Elevation (meters) at which snow will happen Elevation Range Range (meters) from the min elevation point to the full amount of coverage indicated.

boost::signalslib::signal<void(float)> makVrv::DtComponentSignaler::signal_rainAccumulationSettingsChanged

Signal raised when rain accumulation settings are set Parameters are Depth(coverage) . 0.- – m. (for now, 0. to 0.01 mm treated as a 0-100 percentage coverage)


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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)