QNodeCreatedChangeBase Class

(Qt3DCore::QNodeCreatedChangeBase)

The QNodeCreatedChangeBase class is the base class for all NodeCreated QSceneChange events 更多...

头文件: #include <Qt3DCore/QNodeCreatedChangeBase>
qmake: QT += 3dcore
基类: Qt3DCore::QSceneChange
派生类:

Qt3DCore::QNodeCreatedChange

公有函数

QNodeCreatedChangeBase(const QNode *node)
~QNodeCreatedChangeBase()
bool isNodeEnabled() const
const QMetaObject *metaObject() const
QNodeId parentId() const

受保护的函数

QNodeCreatedChangeBase(QNodeCreatedChangeBasePrivate &dd, const QNode *node)

详细描述

The QNodeCreatedChangeBase class is the base class for all NodeCreated QSceneChange events

The QNodeCreatedChangeBase class is the base class for all QSceneChange events that have the changeType() NodeCreated. You should not need to instantiate this class. Usually you should be using one of its subclasses such as QNodeCreatedChange.

You can subclass this to create your own node update types for communication between your QNode and QBackendNode subclasses when writing your own aspects.

成员函数

QNodeCreatedChangeBase::QNodeCreatedChangeBase(const QNode *node)

Constructs a new QNodeCreatedChangeBase with node.

[protected] QNodeCreatedChangeBase::QNodeCreatedChangeBase(QNodeCreatedChangeBasePrivate &dd, const QNode *node)

Copy constructor.

QNodeCreatedChangeBase::~QNodeCreatedChangeBase()

Destroys the instance of QNodeCreatedChangeBase.

bool QNodeCreatedChangeBase::isNodeEnabled() const

Returns node enabled.

const QMetaObject *QNodeCreatedChangeBase::metaObject() const

Returns metaobject.

QNodeId QNodeCreatedChangeBase::parentId() const

Returns parent id.

相关非成员

typedef Qt3DCore::QNodeCreatedChangeBasePtr

A shared pointer for QNodeCreatedChangeBase.