class FakeTopology

Defined at line 20 of file ../../sdk/lib/driver/power/cpp/testing/fake_topology.h

Public Methods

void FakeTopology ()

Defined at line 22 of file ../../sdk/lib/driver/power/cpp/testing/fake_topology.h

fpromise::promise<ElementSchema, void> TakeElementSchemaPromise ()

Takes a promise containing the next ElementSchema sent to this server via AddElement. This

promise can then be processed on a different async dispatcher (possibly on a different thread)

from the one used by this server.

Defined at line 27 of file ../../sdk/lib/driver/power/cpp/testing/fake_topology.h

fpromise::promise<LeaseSchema, void> TakeLeaseSchemaPromise ()

Defined at line 31 of file ../../sdk/lib/driver/power/cpp/testing/fake_topology.h