nn::os::Timer Classclass Timer : public nn::os::WaitObject
Class for representing timers.
Timers, like events, have two possible states: signaled and non-signaled. The Wait operation for a Timer waits until the event enters the signaled state.
There are two types of timers: those that are manually reset and those that are automatically reset. This characteristic can be configured by parameters during initialization. See the documentation for the Event class for more details about the differences.
Timers do not enter the signaled state immediately. They do so only after after the StartOneShot function is called and the specified timespan elapses.
Alternately, by calling StartPeriodic you can make them enter the signaled state on a periodic basis.
Timer
|
Timer initialization. | |
|---|---|---|
Initialize
|
Timer initialization. | |
TryInitialize
|
Tries to initialize a timer. | |
Finalize
|
Destroys a timer. | |
~Timer
|
Destructor. | |
StartOneShot
|
Starts a timer. | |
StartPeriodic
|
Starts a timer. | |
Signal
|
Sets a timer to the signaled state immediately. | |
Wait
|
Waits until a timer notification. | |
Stop
|
Stops a timer that has been started. | |
ClearSignal
|
Clears a timer. |
ADLFireWall::NonCopyable
nn::os::HandleObject
nn::os::WaitObject
nn::os::Timer
CONFIDENTIAL