NW4F Sys
Loading...
Searching...
No Matches
ut_Event.h
Go to the documentation of this file.
1
#
ifndef
NW_UT_EVENT_H_
2
#
define
NW_UT_EVENT_H_
3
4
#
include
<
cafe
/
os
.
h
>
5
6
namespace
nw
{
namespace
ut
{
7
8
class
Event
9
{
10
public
:
11
Event
(
bool
manualReset,
bool
initialState);
12
~
Event
();
13
14
void
Signal
();
15
void
Reset
();
16
void
Wait
();
17
bool
TryWait
();
18
19
private
:
20
OSEvent
m_Event
;
21
};
22
static_assert
(
sizeof
(
Event
) == 0x24);
23
24
} }
// namespace nw::ut
25
26
#
endif
// NW_UT_EVENT_H_
nw::ut::Event
Definition
ut_Event.h:9
nw::ut::Event::Reset
void Reset()
nw::ut::Event::TryWait
bool TryWait()
nw::ut::Event::m_Event
OSEvent m_Event
Definition
ut_Event.h:20
nw::ut::Event::Signal
void Signal()
nw::ut::Event::Event
Event(bool manualReset, bool initialState)
nw::ut::Event::Wait
void Wait()
nw::ut::Event::~Event
~Event()
nw::ut
Definition
ut_CriticalSection.h:6
nw
Definition
math_Constant.cpp:5
include
nw
ut
os
ut_Event.h
Generated by
1.14.0