template <typename D, typename OperationTraits, typename CallbackTraits, typename Storage = void>

class BorrowedOperation

Defined at line 244 of file ../../src/devices/lib/dev-operation/include/lib/operation/operation.h

Similar to operation::Operation, but it doesn't call free on destruction.

This should be used to wrap NodeType* objects allocated in other

drivers.

NOTE: This WILL auto-complete the request on destruction if allow_destruct is set.

Public Methods

void BorrowedOperation<D, OperationTraits, CallbackTraits, Storage> (OperationType * operation, const CallbackType * complete_cb, void * cookie, size_t parent_op_size, bool allow_destruct)

Defined at line 251 of file ../../src/devices/lib/dev-operation/include/lib/operation/operation.h

void BorrowedOperation<D, OperationTraits, CallbackTraits, Storage> (OperationType * operation, size_t parent_op_size, bool allow_destruct)

Defined at line 257 of file ../../src/devices/lib/dev-operation/include/lib/operation/operation.h

void BorrowedOperation<D, OperationTraits, CallbackTraits, Storage> (BorrowedOperation<D, OperationTraits, CallbackTraits, Storage> && other)

Defined at line 264 of file ../../src/devices/lib/dev-operation/include/lib/operation/operation.h

BorrowedOperation<D, OperationTraits, CallbackTraits, Storage> & operator= (BorrowedOperation<D, OperationTraits, CallbackTraits, Storage> && other)

Defined at line 269 of file ../../src/devices/lib/dev-operation/include/lib/operation/operation.h

void ~BorrowedOperation<D, OperationTraits, CallbackTraits, Storage> ()

Defined at line 274 of file ../../src/devices/lib/dev-operation/include/lib/operation/operation.h

template <typename... Args>
void Complete (Args... args)

Must be called by the processor when the operation has completed or failed.

The operation and any virtual or physical memory obtained from it is no

longer valid after Complete is called.

Defined at line 282 of file ../../src/devices/lib/dev-operation/include/lib/operation/operation.h