nn::boss::Task::Initialize Member Function

Syntax

nn::Result Initialize(
     const char * pTaskId
);

Parameters

Name Description
in pTaskId Specifies a task ID. TaskId[TASK_ID_LENGTH]

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
Result::IsSuccess Initialization successful.
ResultInvalidTaskId The task ID pointer is NULL or a zero-length string.
A value other than the above. Unexpected error (see boss_Result.h for error details).

Description

Initializes the registered task with the specified task ID. This initialization makes it possible to reuse objects.

Revision History

2010/09/16
Initial version.

CONFIDENTIAL