C++ SDK
SChangeOption Struct Reference

SChangeOption structure is used to manipulate with basic Drive settings in ChangeApplicationOptions function. More...

#include <ApplicationApi.h>

Public Types

enum  LOAD_RESTRICTIONS {
  Explosives = 0x00000001, FlammableGases = 0x00000002, FlammableLiquids = 0x00000004, FlammableSolids = 0x00000008,
  Oxidizers = 0x00000010, Poisonous = 0x00000020, Radioactive = 0x00000040, Corrosive = 0x00000080,
  Hazardous = 0x00000100, InhalationHazards = 0x00000200, General = 0x00000400, Explosive = 0x00000800,
  HarmfulToWater = 0x00001000, Agriculture = 0x00010000, Coal = 0x00020000, Building = 0x00040000,
  SanitaryVaste = 0x00080000, SandAndGravel = 0x00100000, Commodity = 0x00200000, NaturalResources = 0x00400000
}
 HAZMAT / Load restrictions. More...
 

Public Member Functions

 SChangeOption ()
 Constructor of SChangeOption. More...
 

Data Fields

BOOL bSoundEnabled
 Flag enabling/disabling sounds. More...
 
BOOL bOperateRightHanded
 Flag effecting Drive appearance. More...
 
int nVolumeMin
 Represents the volume in low vehicle speed. (0-10) More...
 
int nVolumeMax
 Represents the volume in high vehicle speed. (0-10) More...
 
int nDistanceUnit
 Flag determining distance units. More...
 
int nClockFormat
 Flag determining clock format. More...
 
int nGPSUnits
 Flag determining GPSUnits format. More...
 
int nKeyboardType
 Flag determining keyboard type. More...
 
int nAvoidTollRoads
 Flag determining whether Drive avoids toll roads when computing route. More...
 
BOOL bAvoidUTurns
 Flag determining whether Drive avoids U-turns when computing route. More...
 
int nPlanningSettings
 Flag determining what kind of route Drive computes. More...
 
int nPlanningSettingsLimitedSpeed
 Parameter determinig vehicle speed limit. Used only if route is computed for vehicles with limited speed. (see nPlanningSettings) More...
 
BOOL bAvoidFerries
 Flag determining whether Drive avoids ferries when computing route. More...
 
BOOL bDisableMainMenu
 Flag enabling/disabling main menu. More...
 
BOOL bDisableRecompute
 Flag enabling/disabling recomputing route when deviating from the route. More...
 
int nETAMaximumSpeed
 Flag determining the Estimated Time of Arrival calculated in maximum speed. More...
 
int nETAPercentageChange
 Estimate time arrival percentage change. More...
 
BOOL bRadarsWarnOn
 Enable speed camera warning. More...
 
BOOL bRadarsVisible
 Enable speed camera visibility. More...
 
int nRadarDistance
 The distance from speed camera, in which the warning is enabled (range 1..10) More...
 
int nRadarDistanceInCity
 The distance from speed camera, in which the warning is enabled (range 1..10) in city. More...
 
int nSkin
 Skin mode. More...
 
int nTimeZone
 Time zone in minutes. Offset from GMT. More...
 
BOOL bHideMapCursor
 Visibility of Browse map cursor. More...
 
int nSpeedExceedInCity
 Speed warning is triggered when the maximum allowed speed in city is exceeded by this value. More...
 
int nSpeedExceed
 Speed warning is triggered when the maximum allowed speed outside city is exceeded by this value. More...
 
int nView
 View mode. More...
 
int nSignpostDirection
 Displayed signposts. More...
 
int nSignpostSize
 Displayed signposts size. More...
 
int bSnapToEveryRoad
 Allows position snapping to forbidden roads. More...
 
int bMaxSpeedWarn
 Enable acoustic speed exceeding warning. More...
 
BOOL bTTSEnabled
 Selected sound is TTS. More...
 
int nVisiblePointReachDistance
 Visible waypoints reach distance in meters. More...
 
int nInvisiblePointReachDistance
 Invisible waypoints reach distance in meters. More...
 
BOOL bAllowClosedRoads
 Allow closed roads in route computing. More...
 
BOOL bTruckInMap
 Flag determining whether a truck attributes are contained in map.
This flag is readonly. More...
 
BOOL bUseTruckAtt
 Use truck attributes. More...
 
int nTruckMaxSpeed
 Truck max speed [km/h]. More...
 
int nTruckWeightTotal
 Gross vehicle weight [kg]. More...
 
int nTruckWeightAxle
 Weight per axle [kg]. More...
 
int nTruckTandemWeight
 Tandem axle weight [kg]. More...
 
int nTruckTridemWeight
 Tridem axle weight [kg]. More...
 
int nTruckOtherWeight
 Other weight [kg]. More...
 
int nTruckUnladenWeight
 Unladen vehicle weight [kg]. More...
 
int nTruckLenght
 Total vehicle length [mm]. More...
 
int nTruckAxleLength
 Extreme axle length [mm]. More...
 
int nTrailerLength
 Trailer Length [mm]. More...
 
int nTractorLength
 Tractor Length [mm]. More...
 
int nKingpinLastAxle
 Kingpin to last axle [mm]. More...
 
int nKingpinLastTandem
 Kingpin to middle of last tandem [mm]. More...
 
int nKingpinEndTrailer
 Kingpin to end of trailer (last trailer if applicable) [mm]. More...
 
int nTruckOtherLength
 Other length [mm]. More...
 
int nTruckWidth
 Vehicle width [mm]. More...
 
int nTruckHeight
 Posted height [mm]. More...
 
int nLoadRestrictions
 HAZMAT / Load restrictions. See LOAD_RESTRICTIONS. More...
 
LONGPOSITION cpHomePosition
 LONGPOSITION struct determining location of home position.
See Coordinates conversion section in TROUBLESHOOTING page. More...
 
TCHAR strHomeLocation [60]
 Name of home position. More...
 
TCHAR strLangFile [60]
 Name of lang file. More...
 
TCHAR strVoiceFolder [60]
 Name of voice folder. More...
 
TCHAR strVoicePerson [60]
 Name of voice person. More...
 
TCHAR strMaxSpeedSound [60]
 Name of the sound file to play on speed warning. More...
 
BOOL bAllowItineraryEdit
 Flag determining whether the user will be allowed to edit itinerary manually. More...
 

Detailed Description

SChangeOption structure is used to manipulate with basic Drive settings in ChangeApplicationOptions function.