nn::os::Alarm::CanSet Member Function

Syntax

#include <nn/os.h>

bool CanSet() const;

Parameters

None.

Return Values

Returns true if alarms can be set, and false otherwise.

Description

Determines whether the current state allows alarms to be set.

If an alarm has already been set and a handler is scheduled to run in the future, this function returns false. Even if Cancel is called, this function will not return true until the handler has been called.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL