class FakeTopology

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

Public Methods

void FakeTopology ()

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

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

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 26 of file ../../sdk/lib/driver/power/cpp/testing/fake_topology.h