DUNE: Uniform Navigational Environment  2017.01.0
DUNE::Time::Delay Class Reference

Detailed Description

Routines to control timed delays.

Static Public Member Functions

static void waitNsec (uint64_t nsec)
 
static void waitUsec (uint64_t usec)
 
static void waitMsec (uint64_t msec)
 
static void wait (double s)
 

Member Function Documentation

static void DUNE::Time::Delay::wait ( double  s)
inlinestatic

Suspends the execution of the calling thread for the specified amount of time (in seconds).

Parameters
sthe amount of time to suspend.

References waitNsec().

Referenced by DUNE::Hardware::UCTK::Bootloader::Bootloader(), DUNE::Hardware::BasicModem::initialize(), DUNE::Hardware::HayesModem::initialize(), DUNE::Tasks::Task::initializeResources(), DUNE::Hardware::SerialPort::sendBreak(), and DUNE::Hardware::UCTK::Bootloader::~Bootloader().

static void DUNE::Time::Delay::waitMsec ( uint64_t  msec)
inlinestatic

Suspends the execution of the calling thread for the specified amount of time (in millisecond).

Parameters
msecthe amount of milliseconds to suspend.

References waitNsec().

void DUNE::Time::Delay::waitNsec ( uint64_t  nsec)
static

Suspends the execution of the calling thread for the specified amount of time (in nanosecond).

Parameters
nsecthe amount of nanoseconds to suspend.

Referenced by wait(), waitMsec(), and waitUsec().

static void DUNE::Time::Delay::waitUsec ( uint64_t  usec)
inlinestatic

Suspends the execution of the calling thread for the specified amount of time (in microsecond).

Parameters
usecthe amount of microseconds to suspend.

References waitNsec().

Collaboration diagram for DUNE::Time::Delay:
Collaboration graph