nn::camera::CTR::Initialize Function

Syntax

nn::Result Initialize();

Arguments

None.

Return Values

Returns the result of the operation.
LEVEL_SUCCESS:SUMMARY_SUCCESS:MODULE_COMMON:DESCRIPTION_SUCCESS: Success.
LEVEL_INFO:SUMMARY_NOTHING_HAPPENED:MODULE_NN_CAMERA:DESCRIPTION_ALREADY_INITIALIZED: Already initialized.
LEVEL_PERMANENT:SUMMARY_INVALID_STATE:MODULE_NN_CAMERA:DESCRIPTION_ALREADY_INITIALIZED: Unavailable because another process is already initialized.
LEVEL_STATUS:SUMMARY_STATUS_CHANGED:MODULE_NN_CAMERA:DESCRIPTION_CAMERA_IS_SLEEPING: Asleep, and thus unavailable.
LEVEL_FATAL:SUMMARY_INTERNAL:MODULE_NN_CAMERA:DESCRIPTION_CAMERA_FATAL_ERROR: There may be something physically wrong with the camera.

Description

Initializes the CAMERA library and makes the cameras available for use.

Note that this function may block internally for an extended period if a camera is restarting.

Revision History

2010/07/17
Added explanation about operation during restart.
2010/01/07
Initial version.

CONFIDENTIAL