nn::nex::Operation::SetTraceFilter Member Function

Syntax

static void SetTraceFilter(
     qBool(*)(const Operation *) pfTraceFilter
);

Parameters

Name Description
in pfTraceFilter Specifies the callback function for the trace filter.

Return Values

None.

Description

Sets the callback function that specifies when to run traces on operation objects.

The callback function specified here is called from the system and specifies whether to perform a trace using the TraceLog function. The system calls the specified callback function and passes a pointer to the operation object that is the trace target. The callback returns a qBool value. If this value is true, a trace is performed. If it is false, a trace is not performed.

After the trace flags have been set in the TraceLog object, this function is used to set a filter callback for each operation. If no flags are set, tracing is performed for all duplicated objects excluding CoreDO objects. (CoreDO objects are duplicated objects automatically prepared by the system, such as Station and Session objects.)

See Also

DuplicatedObject::IsACoreDO, DuplicatedObject::IsAUserDO

Revision History

2011/01/27
Initial version.

CONFIDENTIAL