CTR Pia
4.11.3
Game Communication Engine
|
This class represents events. More...
Public Member Functions | |
Event () | |
Instantiates the object. More... | |
~Event () | |
Destroys the object. | |
void | Finalize () |
Destroys an event. More... | |
nn::os::LightEvent * | GetRawLightEvent () |
Gets this nn::os::LightEvent instance. More... | |
void | Initialize (bool bManualReset=true) |
Initializes an event. More... | |
void | Reset () |
Puts the event in the non-signal state. More... | |
void | Signal () |
Puts the event in the signal state. More... | |
bool | TryWait () |
Determines whether the event is in the signal state. More... | |
void | Wait () |
Waits for the event to enter the signal state. More... | |
This class represents events.
2012-10-30 Added TryWait
.
2012-09-21 Made functions public.
nn::pia::common::Event::Event | ( | ) |
Instantiates the object.
You must explicitly call Initialize
to use an event.
void nn::pia::common::Event::Finalize | ( | ) |
Destroys an event.
|
inline |
Gets this nn::os::LightEvent
instance.
nn::os::LightEvent
instance. void nn::pia::common::Event::Initialize | ( | bool | bManualReset = true | ) |
Initializes an event.
[in] | bManualReset | Specify true for manual reset, or false for automatic reset. |
void nn::pia::common::Event::Reset | ( | ) |
Puts the event in the non-signal state.
bool nn::pia::common::Event::TryWait | ( | ) |
Determines whether the event is in the signal state.
Clears the signal state if the event is an automatic reset event.
void nn::pia::common::Event::Wait | ( | ) |
Waits for the event to enter the signal state.