template<class EventLoop, class Xform, class ... Enhancers>
class Kazv::Sdk< EventLoop, Xform, Enhancers >
Contain the single source of truth of a matrix sdk.
template<class EventLoop , class Xform , class ... Enhancers>
| Client Kazv::Sdk< EventLoop, Xform, Enhancers >::clientFromSecondaryRoot |
( |
lager::reader< ModelT > |
sr | ) |
const |
|
inline |
Get a Client representing this.
The returned Client belongs to the same thread as sr.
This function is thread-safe, but it must be called from the thread where sr belongs.
- Parameters
-
| sr | The secondary root cursor that represents this sdk. |
- Returns
- A Client representing this in the same thread as
sr.