#include <LOW_platformMisc_Linux.h>
Inheritance diagram for LOW_platformMisc_Linux:
Public Types | |
typedef LOW_platformMisc::timestamp_t | timestamp_t |
Data structure for timestamps. More... | |
Public Methods | |
void const | p_secSleep (const unsigned int inSeconds) |
Sleep for a specified number of seconds. More... | |
void const | p_milliSleep (const unsigned long inMilliSeconds) |
Sleep for a specified number of milli seconds. More... | |
void const | p_microSleep (const unsigned long inMicroSeconds) |
Sleep for a specified number of micro seconds. More... | |
void const | p_nanoSleep (const unsigned long inNanoSeconds) |
Sleep for a specified number of nano seconds. More... | |
void const | p_nanoSleep (const unsigned int inSeconds, const unsigned long inNanoSeconds) |
Sleep for a specified number of nano seconds. More... | |
void const | p_getTimestamp (LOW_platformMisc::timestamp_t &outTimestamp) |
LOW_platformMiscFactory::threadIdent_t const | p_getThreadID () |
Get identifier for current thread. More... | |
std::string const | p_getHostname () |
Get the host's name. More... | |
virtual const void | p_getTimestamp (timestamp_t &outTimestamp)=0 |
Get a timestamp. More... | |
Static Public Methods | |
const void | secSleep (const unsigned int inSeconds) |
Sleep for a specified number of seconds. More... | |
const void | milliSleep (const unsigned long inMilliSeconds) |
Sleep for a specified number of milli seconds. More... | |
const void | microSleep (const unsigned long inMicroSeconds) |
Sleep for a specified number of micro seconds. More... | |
const void | nanoSleep (const unsigned long inNanoSeconds) |
Sleep for a specified number of nano seconds. More... | |
const void | nanoSleep (const unsigned int inSeconds, const unsigned long inNanoSeconds) |
Sleep for a specified number of nano seconds. More... | |
const void | getTimestamp (timestamp_t &outTimestamp) |
Get a timestamp. More... | |
const void | diffTimestamp (const timestamp_t &inT1, const timestamp_t &inT2, timestamp_t &outResult) |
Calculate difference of two timestamps. More... | |
const LOW_platformMiscFactory::threadIdent_t | getThreadID () |
Get identifier for current thread. More... | |
const std::string | getHostname () |
Get the host's name. More... |
Definition at line 29 of file LOW_platformMisc_Linux.h.
|
Data structure for timestamps.
|
|
Calculate difference of two timestamps.
Definition at line 61 of file LOW_platformMisc.cpp. References LOW_platformMisc::timestamp_t::milSec, and LOW_platformMisc::timestamp_t::sec. Referenced by LOW_compJalousieController::measureTransitionDelays(). |
|
Get the host's name.
Definition at line 83 of file LOW_platformMisc.cpp. References LOW_platformMisc::p_getHostname(), and LOW_platformMisc::runtimeInstance. |
|
Get identifier for current thread.
Definition at line 77 of file LOW_platformMisc.cpp. References LOW_platformMisc::p_getThreadID(), and LOW_platformMisc::runtimeInstance. Referenced by LOW_link::commLock::commLock(), LOW_helper_msglog::fprintLogHeader(), and LOW_link::commLock::~commLock(). |
|
Get a timestamp.
Definition at line 55 of file LOW_platformMisc.cpp. References LOW_platformMisc::p_getTimestamp(), and LOW_platformMisc::runtimeInstance. Referenced by LOW_compJalousieController::measureTransitionDelays(). |
|
Sleep for a specified number of micro seconds.
Definition at line 37 of file LOW_platformMisc.cpp. References LOW_platformMisc::p_microSleep(), and LOW_platformMisc::runtimeInstance. |
|
Sleep for a specified number of milli seconds.
Definition at line 31 of file LOW_platformMisc.cpp. References LOW_platformMisc::p_milliSleep(), and LOW_platformMisc::runtimeInstance. Referenced by LOW_compJalousieController::moveDownStop(), LOW_compJalousieController::moveUpStop(), LOW_linkDS2480B::resetLinkAdapter(), and LOW_linkDS2480B::strongPullup(). |
|
Sleep for a specified number of nano seconds.
Definition at line 49 of file LOW_platformMisc.cpp. References LOW_platformMisc::p_nanoSleep(), and LOW_platformMisc::runtimeInstance. |
|
Sleep for a specified number of nano seconds.
Definition at line 43 of file LOW_platformMisc.cpp. References LOW_platformMisc::p_nanoSleep(), and LOW_platformMisc::runtimeInstance. |
|
Get the host's name. Virtual method to be implemented by OS specific subclasses.
Reimplemented from LOW_platformMisc. Definition at line 93 of file LOW_platformMisc_Linux.cpp. |
|
Get identifier for current thread. Virtual method to be implemented by OS specific subclasses.
Reimplemented from LOW_platformMisc. Definition at line 87 of file LOW_platformMisc_Linux.cpp. |
|
Get a timestamp. Virtual method to be implemented by OS specific subclasses.
Referenced by LOW_platformMisc::getTimestamp(). |
|
Definition at line 78 of file LOW_platformMisc_Linux.cpp. References LOW_platformMisc::timestamp_t::milSec, and LOW_platformMisc::timestamp_t::sec. |
|
Sleep for a specified number of micro seconds. Virtual method to be implemented by OS specific subclasses.
Reimplemented from LOW_platformMisc. Definition at line 50 of file LOW_platformMisc_Linux.cpp. References p_nanoSleep(). |
|
Sleep for a specified number of milli seconds. Virtual method to be implemented by OS specific subclasses.
Reimplemented from LOW_platformMisc. Definition at line 42 of file LOW_platformMisc_Linux.cpp. References p_nanoSleep(). |
|
Sleep for a specified number of nano seconds. Virtual method to be implemented by OS specific subclasses.
Reimplemented from LOW_platformMisc. Definition at line 64 of file LOW_platformMisc_Linux.cpp. |
|
Sleep for a specified number of nano seconds. Virtual method to be implemented by OS specific subclasses.
Reimplemented from LOW_platformMisc. Definition at line 58 of file LOW_platformMisc_Linux.cpp. Referenced by p_microSleep(), p_milliSleep(), and p_secSleep(). |
|
Sleep for a specified number of seconds. Virtual method to be implemented by OS specific subclasses.
Reimplemented from LOW_platformMisc. Definition at line 36 of file LOW_platformMisc_Linux.cpp. References p_nanoSleep(). |
|
Sleep for a specified number of seconds.
Definition at line 25 of file LOW_platformMisc.cpp. References LOW_platformMisc::p_secSleep(), and LOW_platformMisc::runtimeInstance. Referenced by LOW_linkPassiveSerial::strongPullup(). |