template <typename T, typename ZxType>

class ObjectBase

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

CRTP type that provides common functionality for handle-based objects. ZxType must be an owned

libzx object type (i.e. not an instantiation of zx::unowned

<

>).

Public Members

static const auto Type

Public Methods

void ~ObjectBase<T, ZxType> ()

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

zx_obj_type_t type ()

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

zx::unowned<ZxType> & operator-> ()

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

zx::unowned<ZxType> & object ()

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

zx::unowned<ZxType> & object ()

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

template <typename... Args>
std::unique_ptr<T> Create (Args &&... args)

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

Protected Methods

template <typename... Args>
void ObjectBase<T, ZxType> (Args &&... args)

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