Class for OS (EVENT) Events (see BTF Specification Chapter 2.3.5). More...
#include <os.h>
Public Types | |
enum class | Events { clear_event , set_event , wait_event , unknown } |
Possible types of OS events. More... | |
Public Member Functions | |
bool | isWait (OS::Events e) const |
Checks, if the current OS event is wait_event. More... | |
Static Public Member Functions | |
static std::string | eventToString (Events ev) |
Converts the enum Events into string. More... | |
static Events | stringToEvent (const std::string &str) |
Converts a string into the enum Events. More... | |
Class for OS (EVENT) Events (see BTF Specification Chapter 2.3.5).
OS-Events (EVENT) are objects provided by the operating system. They offer a possibility to
synchronize different processes. An OS-Event is always associated with a task, which ”owns”
the event.
|
strong |
Possible types of OS events.
|
static |
Converts the enum Events into string.
[in] | ev | Events enum that will be converted. |
bool btf::OS::isWait | ( | OS::Events | e | ) | const |
|
static |
Converts a string into the enum Events.
[in] | str | String that will be converted. |