Searched refs:SharedRefBase (Results 1 – 1 of 1) sorted by relevance
46 class SharedRefBase {48 SharedRefBase() {} in SharedRefBase() function49 virtual ~SharedRefBase() { in ~SharedRefBase()59 std::shared_ptr<SharedRefBase> ref() { in ref()60 std::shared_ptr<SharedRefBase> thiz = mThis.lock(); in ref()62 std::call_once(mFlagThis, [&]() { mThis = thiz = std::shared_ptr<SharedRefBase>(this); }); in ref()86 std::weak_ptr<SharedRefBase> mThis;92 class ICInterface : public SharedRefBase {