UltraScan III
List of all members | Static Public Member Functions
US_Sleep Class Reference

A static only class to provide sleep functions, primarily for Windows. Although this file is in the utils library directory, it is not included in the library because everything that is needed is in the header. More...

#include "us_sleep.h"

Inheritance diagram for US_Sleep:
Inheritance graph
[legend]
Collaboration diagram for US_Sleep:
Collaboration graph
[legend]

Static Public Member Functions

static void sleep (unsigned long secs)
 A static function that sleeps seconds. More...
 
static void msleep (unsigned long msecs)
 A static function that sleeps milliseconds. More...
 
static void usleep (unsigned long usecs)
 A static function that sleeps microseconds. More...
 

Detailed Description

A static only class to provide sleep functions, primarily for Windows. Although this file is in the utils library directory, it is not included in the library because everything that is needed is in the header.

Definition at line 12 of file us_sleep.h.

Member Function Documentation

static void US_Sleep::msleep ( unsigned long  msecs)
inlinestatic

A static function that sleeps milliseconds.

Parameters
msecsMilliseconds to sleep

Definition at line 29 of file us_sleep.h.

static void US_Sleep::sleep ( unsigned long  secs)
inlinestatic

A static function that sleeps seconds.

Parameters
secsSeconds to sleep

Definition at line 20 of file us_sleep.h.

static void US_Sleep::usleep ( unsigned long  usecs)
inlinestatic

A static function that sleeps microseconds.

Parameters
usecsMicroseconds to sleep

Definition at line 38 of file us_sleep.h.


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