VisionWorks Toolkit Reference

April 8, 2016 | 1.4 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvxio::SyncTimer Class Referenceabstract

Detailed Description

A timer that ticks at a constant frequency and can be synchronized with.

Definition at line 52 of file SyncTimer.hpp.

Public Member Functions

virtual void arm (double periodSeconds)=0
 Starts the timer's ticking. More...
 
virtual void synchronize ()=0
 Waits until the timer's next unwaited-for tick. More...
 
virtual ~SyncTimer ()
 

Constructor & Destructor Documentation

virtual nvxio::SyncTimer::~SyncTimer ( )
inlinevirtual

Definition at line 55 of file SyncTimer.hpp.

Member Function Documentation

virtual void nvxio::SyncTimer::arm ( double  periodSeconds)
pure virtual

Starts the timer's ticking.

Parameters
[in]periodSecondsThe time between ticks, in seconds.
virtual void nvxio::SyncTimer::synchronize ( )
pure virtual

Waits until the timer's next unwaited-for tick.

If the timer has ticked at least once since the last call to synchronize, it returns immediately. Otherwise, it waits until the next tick.


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