Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSSGSceneDesc::PropertyProxySetter< Ret, Arg > Struct Template Reference

#include <qssgscenedesc_p.h>

+ Inheritance diagram for QSSGSceneDesc::PropertyProxySetter< Ret, Arg >:
+ Collaboration diagram for QSSGSceneDesc::PropertyProxySetter< Ret, Arg >:

Public Types

using Setter = Ret (*)(QQuick3DObject &, const char *, Arg)
 

Public Member Functions

constexpr PropertyProxySetter (Setter fn)
 
bool get (const QQuick3DObject &, const void *[]) const override
 
bool set (QQuick3DObject &that, const char *name, const void *value) override
 
bool set (QQuick3DObject &that, const char *name, const QVariant &var) override
 
- Public Member Functions inherited from QSSGSceneDesc::PropertyCall
virtual ~PropertyCall ()=default
 

Public Attributes

Setter call = nullptr
 

Detailed Description

template<typename Ret, typename Arg>
struct QSSGSceneDesc::PropertyProxySetter< Ret, Arg >

Definition at line 447 of file qssgscenedesc_p.h.

Member Typedef Documentation

◆ Setter

template<typename Ret , typename Arg >
using QSSGSceneDesc::PropertyProxySetter< Ret, Arg >::Setter = Ret (*)(QQuick3DObject &, const char *, Arg)

Definition at line 449 of file qssgscenedesc_p.h.

Constructor & Destructor Documentation

◆ PropertyProxySetter()

template<typename Ret , typename Arg >
constexpr QSSGSceneDesc::PropertyProxySetter< Ret, Arg >::PropertyProxySetter ( Setter fn)
inlineexplicitconstexpr

Definition at line 450 of file qssgscenedesc_p.h.

Member Function Documentation

◆ get()

template<typename Ret , typename Arg >
bool QSSGSceneDesc::PropertyProxySetter< Ret, Arg >::get ( const QQuick3DObject & ,
const void * [] ) const
inlineoverridevirtual

Implements QSSGSceneDesc::PropertyCall.

Definition at line 452 of file qssgscenedesc_p.h.

◆ set() [1/2]

template<typename Ret , typename Arg >
bool QSSGSceneDesc::PropertyProxySetter< Ret, Arg >::set ( QQuick3DObject & that,
const char * name,
const QVariant & var )
inlineoverridevirtual

Implements QSSGSceneDesc::PropertyCall.

Definition at line 461 of file qssgscenedesc_p.h.

References QSSGSceneDesc::PropertyProxySetter< Ret, Arg >::call, qvariant_cast(), and var.

+ Here is the call graph for this function:

◆ set() [2/2]

template<typename Ret , typename Arg >
bool QSSGSceneDesc::PropertyProxySetter< Ret, Arg >::set ( QQuick3DObject & that,
const char * name,
const void * value )
inlineoverridevirtual

Member Data Documentation

◆ call


The documentation for this struct was generated from the following file: