Home
last modified time | relevance | path

Searched refs:ICallContext (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/
H A Dcall_context.h33 bool Set(const ICallContext::Ptr& context, BASE_NS::string_view name, const Type& value) in META_BEGIN_NAMESPACE()
44 bool SetResult(const ICallContext::Ptr& context, const Type& value) in SetResult()
54 bool SetResult(const ICallContext::Ptr& context) in SetResult()
66 Expected<Type, GenericError> Get(const ICallContext::Ptr& context, BASE_NS::string_view name) in Get()
85 Expected<Type, GenericError> GetResult(const ICallContext::Ptr& context) in GetResult()
114 bool DefineResult(const ICallContext::Ptr& context, const Type& value) in DefineResult()
123 bool DefineResult(const ICallContext::Ptr& context) in DefineResult()
273 static bool Call(const ICallContext::Ptr& context, Func func,
297 bool CallFunction(const ICallContext::Ptr& context, Obj* obj, Ret (Obj::*func)(Args...))
309 bool CallFunction(const ICallContext::Ptr& context, Func func)
[all …]
H A Dfunction.h48 void Invoke(const ICallContext::Ptr& context) const override in META_BEGIN_NAMESPACE()
53 ICallContext::Ptr CreateCallContext() const override in META_BEGIN_NAMESPACE()
90 auto l = [func](auto obj, const ICallContext::Ptr& context) { in CreateFunction()
111 …auto l = [wrapper](auto, const ICallContext::Ptr& context) { ::META_NS::CallFunction(context, wrap… in CreateBindFunction()
150 ICallContext::Ptr context;
168 ICallContext::Ptr context;
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/
H A Dintf_call_context.h39 class ICallContext : public CORE_NS::IInterface {
40 META_INTERFACE(CORE_NS::IInterface, ICallContext, "2e9cac45-0e61-4152-8b2a-bc1c65fded3d")
117 META_TYPE(META_NS::ICallContext::Ptr)
118 META_TYPE(META_NS::ICallContext::ConstPtr)
119 META_TYPE(META_NS::ICallContext::WeakPtr)
120 META_TYPE(META_NS::ICallContext::ConstWeakPtr)
H A Dintf_function.h55 virtual void Invoke(const ICallContext::Ptr& context) const = 0;
61 virtual ICallContext::Ptr CreateCallContext() const = 0;
H A Dintf_object_registry.h44 class ICallContext; variable
238 virtual BASE_NS::shared_ptr<ICallContext> ConstructDefaultCallContext() const = 0;
H A Dstatic_object_metadata.h68 using FContext = ICallContext::Ptr();
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/
H A Dfunctions.h31 void Invoke(const ICallContext::Ptr& context) const override; in META_BEGIN_NAMESPACE()
32 ICallContext::Ptr CreateCallContext() const override; in META_BEGIN_NAMESPACE()
51 void Invoke(const ICallContext::Ptr& context) const override;
52 ICallContext::Ptr CreateCallContext() const override;
H A Dfunctions.cpp31 void SettableFunction::Invoke(const ICallContext::Ptr& context) const in Invoke()
37 ICallContext::Ptr SettableFunction::CreateCallContext() const in CreateCallContext()
86 void PropertyFunction::Invoke(const ICallContext::Ptr& context) const in Invoke()
94 ICallContext::Ptr PropertyFunction::CreateCallContext() const in CreateCallContext()
96 ICallContext::Ptr context; in CreateCallContext()
H A Dcall_context.cpp74 if (uid == CORE_NS::IInterface::UID || uid == ICallContext::UID) { in GetInterface()
75 return static_cast<const ICallContext*>(this); in GetInterface()
H A Dcall_context.h27 class DefaultCallContext : public ICallContext, protected ICloneable { in META_BEGIN_NAMESPACE()
H A Dobject_registry.h81 ICallContext::Ptr ConstructDefaultCallContext() const override;
H A Dobject_registry.cpp413 ICallContext::Ptr ObjectRegistry::ConstructDefaultCallContext() const in ConstructDefaultCallContext()
415 return ICallContext::Ptr { new DefaultCallContext }; in ConstructDefaultCallContext()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/property/
H A Dbind.h62 ICallContext::Ptr context_; in META_BEGIN_NAMESPACE()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/
H A Dimplementation_macros.h269 void func##MetaImpl(const ::META_NS::ICallContext::Ptr& context) \