Method procedure TLStopWatch.TTLStopWatch.Pump()
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
Revision as of 00:05, 11 June 2013
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Class: TTLStopWatch
Contents |
Syntax
Delphi:
procedure Pump();
C++ Builder:
void __fastcall Pump();
Visual C++ (MFC):
void Pump();
Summary
Generates a clock event if enabled and ClockSource is csExternal.
Description
Use the Pump procedure to generate a single clock event. In order to use Pump you must set the Mode to tcmExternal. If there is a higher level pump in the chain such as hardware device the Pump procedure will be ignored. The highest level pump in the chain serves as a master pump and obtains full control of the pumping.
Delphi example:
<c>TLStopWatch1.Pump();</c>
C++ Builder example:
<c>TLStopWatch1->Pump();</c>
Visual C++(MFC) example:
<c>TLStopWatch1.Pump();</c>
C# Example:
<c>stopWatch1.Pump();</c>
Visual C++/CLI example:
<c>stopWatch1->Pump();</c>
C# Example:
<c>stopWatch1.Pump();</c>
VB Example:
<c>StopWatch1.Pump</c>