class Object

Defined at line 10 of file ../../src/devices/bin/driver_runtime/object.h

Public Methods

void CloseHandles ()

Defined at line 27 of file ../../src/testing/loadbench/object.h

zx_obj_type_t type ()
void ~Object ()

Defined at line 12 of file ../../src/devices/bin/driver_runtime/object.h

Protected Methods

template <typename T, typename... Args>
zx::unowned<T> CreateHandle (Args &&... args)

Utility to create a zx::handle-based object. The actual handle is maintained in a static handle

table for the lifetime of the workload. The return value is an unowned handle so that

subclasses of Object that have handle members may be copiable.

Defined at line 34 of file ../../src/testing/loadbench/object.h

template <typename T, typename... Args>
std::pair<zx::unowned<T>, zx::unowned<T>> CreateHandlePair (Args &&... args)

Similar to above for creating peered objects.

Defined at line 47 of file ../../src/testing/loadbench/object.h