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

class BorrowedOperation

Defined at line 237 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 244 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 250 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 255 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 260 of file ../../src/devices/lib/dev-operation/include/lib/operation/operation.h

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

Defined at line 265 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 273 of file ../../src/devices/lib/dev-operation/include/lib/operation/operation.h