Public Member Functions | Private Attributes
labust::tools::wait_until_ms Struct Reference

#include <TimingTools.hpp>

List of all members.

Public Member Functions

void operator() ()
 wait_until_ms (size_t ms)

Private Attributes

size_t time

Detailed Description

The structure creates a delay timer that waits until a millisecond multiple. Useful when precise timing is required since it takes into account the amount of time passed between calls.

Definition at line 106 of file TimingTools.hpp.


Constructor & Destructor Documentation

Main constructor. Sets the millisecond multiple.

Parameters:
msThe delay time.

Definition at line 113 of file TimingTools.hpp.


Member Function Documentation

void labust::tools::wait_until_ms::operator() ( ) [inline]

The operator triggers the suspend time.

Definition at line 123 of file TimingTools.hpp.


Member Data Documentation

Amount of microseconds to sleep.

Definition at line 137 of file TimingTools.hpp.


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


snippets
Author(s): Gyula Nagy
autogenerated on Mon Oct 6 2014 01:39:41