class InstanceLocator
Defined at line 109 of file ../../third_party/openthread/src/core/common/locator.hpp
Implements a locator for an OpenThread Instance object.
The `InstanceLocator` is used as base class of almost all other OpenThread classes. It provides a way for an object
to get to its owning/parent OpenThread `Instance` and also any other `Type` within the `Instance` member variable
property hierarchy (using `Get
<Type
>()` method).
If multiple-instance feature is supported, the owning/parent OpenThread `Instance` is tracked as a reference. In the
single-instance case, this class becomes an empty base class.
Public Methods
Instance & GetInstance ()
Defined at line 122 of file ../../third_party/openthread/src/core/common/locator.hpp
Protected Methods
void InstanceLocator (Instance & aInstance)
Initializes the object.
Parameters
Defined at line 131 of file ../../third_party/openthread/src/core/common/locator.hpp
Friends
class InstanceLocatorInit