CREATE_EXECUTOR

Function Usage

Creates a UniqueExcutor object, which is the factory class of aclOpExecutor.

Prototype

CREATE_EXECUTOR()

Parameters

None

Constraints

  • This macro must be called before aclOpExecutor is used.
  • Before the L2 first-phase API returns, ReleaseTo must be called to pass executor to executor of the L2 API input parameter.

Example

1
2
// Create an executor.
auto uniqueExecutor = CREATE_EXECUTOR();