Lines Matching defs:JSWrapperState
23 class JSWrapperState : public CORE_NS::IInterface {
30 JSWrapperState(NapiApi::Object obj, BASE_NS::string_view name);
31 ~JSWrapperState();
41 const CORE_NS::IInterface* JSWrapperState::GetInterface(const BASE_NS::Uid& uid) const
46 if (uid == JSWrapperState::UID) {
51 CORE_NS::IInterface* JSWrapperState::GetInterface(const BASE_NS::Uid& uid)
56 if (uid == JSWrapperState::UID) {
61 void JSWrapperState::Ref()
65 void JSWrapperState::Unref()
71 JSWrapperState::JSWrapperState(NapiApi::Object obj, BASE_NS::string_view name)
74 LOG_F("JSWrapperState ++ %s", name_.c_str());
79 JSWrapperState::~JSWrapperState()
84 LOG_F("JSWrapperState -- %s", name_.c_str());
86 NapiApi::Object JSWrapperState::GetObject()
155 return interface_cast<JSWrapperState>(wrapper->GetValue())->GetObject();
165 auto res = BASE_NS::shared_ptr<JSWrapperState>(new JSWrapperState(jsobj, obj->GetClassName()));
171 if (auto val = interface_cast<JSWrapperState>(wrapper->GetValue())) {