class TraitUpdaterImpl

Defined at line 20 of file ../../src/connectivity/weave/lib/core/trait_updater.h

Public Methods

void SetDelegate (std::unique_ptr<Delegate> delegate)

Sets the delegate containing the platform-specific implementation. It is

invalid to invoke the TraitUpdaterImpl without setting a delegate

first.

Defined at line 29 of file ../../src/connectivity/weave/lib/core/trait_updater.cc

Delegate * GetDelegate ()

Gets the delegate currently in use. This may return nullptr if no delegate

was set on this class.

Defined at line 38 of file ../../src/connectivity/weave/lib/core/trait_updater.cc

WEAVE_ERROR Init ()

Defined at line 11 of file ../../src/connectivity/weave/lib/core/trait_updater.cc

void HandleWeaveDeviceEvent (const WeaveDeviceEvent * event)

Receives |event| and sends it to the all the registered applets.

Defined at line 25 of file ../../src/connectivity/weave/lib/core/trait_updater.cc

void TrampolineEvent (const WeaveDeviceEvent * event, intptr_t arg)

Static handler to trampoline event calls into an instance. |arg|

is a pointer to the instance.

Defined at line 20 of file ../../src/connectivity/weave/lib/core/trait_updater.cc

Records

Friends

TraitUpdaterImpl & TraitUpdaterImpl ()