Maptitude GISDK Help

Timers and Stopwatches

GISDK provides two sets of tools for utilizing the computer clock. Timers let you program automatic interrupts at scheduled intervals. At each programmed interval, a macro that you designate is run automatically. The Maptitude Tools>Routing & Directions>GPS>Read GPS Data command uses this capability to provide automatic tracking and map updates. You can use timers for similar applications, or for many different types of custom applications. You can also put Maptitude to sleep for a specified amount of time.

 

Here is a summary of the timer GISDK functions:

 

GISDK Function

Summary

CreateTimer()

Sets up a timer that executes a macro at fixed-time intervals

DestroyTimer()

Cancels a timer that executes a macro at fixed-time intervals

Pause()

Uses a timer to go into a waiting loop that yields to other processes, allowing Windows messages to be dispatched while waiting

Sleep()

Uses a timer to go into a waiting loop that yields to other processes

 

Stopwatches let you track the amount of time required for certain processes to take place. You can use stopwatches to measure the performance of GISDK applications or to report information on system performance to the user.

 

Here is a summary of the stopwatch GISDK functions:

 

GISDK Function

Summary

CreateStopwatch()

Starts a stopwatch to track clock time

CheckStopwatch()

Determines the elapsed time since a stopwatch was started

DestroyStopwatch()

Stops or cancels a stopwatch

 

 

©2025 Caliper Corporation www.caliper.com