C++ SDK
STmcEvent Struct Reference

The STmcEvent structure defines a single TMC event on a location. More...

#include <ApplicationApi.h>

Public Types

enum  EventCode {
  TMCTrafficProblem = 0, TMCQueuingProblem = 1, TMCSlowTraffic = 2, TMCHeavyTraffic = 3,
  TMCStationaryTraffic = 4, TMCCongestion = 5, TMCNormalTraffic = 6, TMCNoProblems = 7,
  TMCAccidentCleared = 8, TMCAccidentIncident = 9, TMCClosure = 10, TMCBridgeTunelBlocked = 11,
  TMCSeviceClosed = 12, TMCServiceReopened = 13, TMCLaneClosure = 14, TMCRoadWorks = 15,
  TMCObstacle = 16, TMCRoadConditions = 17, TMCWeather = 18, TMCWind = 19,
  TMCVisibility = 20, TMCTemperature = 21, TMCActivity = 22, TMCDelay = 23,
  TMCDangerousVehicle = 24, TMCExceptionalLoadsVehicles = 25, TMCTrafficEquipment = 26, TMCSizeAndWeightLimits = 27,
  TMCParkingRestrictions = 28, TMCReferenceToAudioBroadcast = 29, TMCAdditionalInfo = 30
}
 List of the possible Event codes. More...
 

Public Member Functions

 STmcEvent ()
 Creates the instance of the STmcEvent class with default values. More...
 

Data Fields

WORD wID
 Returns the ID number that was assigned to this event by application. The ID can be later used to delete the event. More...
 
LONG lX
 Determines geographical longitude (X coordinate) of the event in world degrees multiplied by 100 000. More...
 
LONG lY
 Determines geographical latitude (Y coordinate) of the event in world degrees multiplied by 100 000. More...
 
int nEventCode
 Code of the TMC event from the EventCode enumeration. More...
 
BOOL bUserAvoid
 Defines if the route computing should always avoid this event. More...
 
UINT nValidityYear
 Year. Validity time, till which the event remains active. After this time is the event deleted. The events are not stored after application exit. More...
 
BYTE nValidityMonth
 Month. Validity time, till which the event remains active. After this time is the event deleted. The events are not stored after application exit. More...
 
BYTE nValidityDay
 Day. Validity time, till which the event remains active. After this time is the event deleted. The events are not stored after application exit. More...
 
BYTE nValidityHour
 Hour. Validity time, till which the event remains active. After this time is the event deleted. The events are not stored after application exit. More...
 
BYTE nValidityMinute
 Minute. Validity time, till which the event remains active. After this time is the event deleted. The events are not stored after application exit. More...
 

Detailed Description

The STmcEvent structure defines a single TMC event on a location.