QInputDeviceIntegration Class
(Qt3DInput::QInputDeviceIntegration)Abstract base class used to define new input methods such as game controllers. More...
Header: | #include <QInputDeviceIntegration> |
qmake: | QT += 3dinput |
Since: | Qt 5.5 |
Inherits: | QObject |
This class was introduced in Qt 5.5.
Public Functions
virtual Qt3DInput::QAbstractPhysicalDevice * | createPhysicalDevice(const QString &name) = 0 |
void | initialize(Qt3DInput::QInputAspect *aspect) |
virtual Qt3DInput::QAbstractPhysicalDeviceBackendNode * | physicalDevice(Qt3DCore::QNodeId id) const = 0 |
virtual QVector<Qt3DCore::QNodeId> | physicalDevices() const = 0 |
- 16 public functions inherited from QObject
Protected Functions
QInputDeviceIntegration(QObject *parent = nullptr) | |
Qt3DInput::QInputAspect * | inputAspect() const |
void | registerBackendType(const QMetaObject &metaObject, const Qt3DCore::QBackendNodeMapperPtr &functor) |
- 8 protected functions inherited from QObject
Related Non-Members
typedef | QObjectList |
Macros
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
Q_CLASSINFO(Name, Value) | |
Q_DISABLE_COPY(Class) | |
Q_DISABLE_COPY_MOVE(Class) | |
Q_DISABLE_MOVE(Class) | |
Q_EMIT | |
Q_ENUM(...) | |
Q_ENUM_NS(...) | |
Q_FLAG(...) | |
Q_FLAG_NS(...) | |
Q_GADGET | |
Q_INTERFACES(...) | |
Q_INVOKABLE | |
Q_NAMESPACE | |
Q_OBJECT | |
Q_PROPERTY(...) | |
Q_REVISION | |
Q_SET_OBJECT_NAME(Object) | |
Q_SIGNAL | |
Q_SIGNALS | |
Q_SLOT | |
Q_SLOTS |
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 1 signal inherited from QObject
- 5 static public members inherited from QObject
Detailed Description
Member Function Documentation
[protected]
QInputDeviceIntegration::QInputDeviceIntegration(QObject *parent = nullptr)
Creates a new QInputDeviceIntegration with parent.
[pure virtual]
Qt3DInput::QAbstractPhysicalDevice *QInputDeviceIntegration::createPhysicalDevice(const QString &name)
Create the Physical device identified by name.
If not recognized return nullptr
void QInputDeviceIntegration::initialize(Qt3DInput::QInputAspect *aspect)
Called by the InputAspect object after the integration has been created with aspect.
[protected]
Qt3DInput::QInputAspect *QInputDeviceIntegration::inputAspect() const
QInputDeviceIntegration::inputAspect Returns the Input Aspect associated with the InputDeviceIntegration
[pure virtual]
Qt3DInput::QAbstractPhysicalDeviceBackendNode *QInputDeviceIntegration::physicalDevice(Qt3DCore::QNodeId id) const
Returns the QAbstractPhysicalDevice identified by the given id if it is related to this QInputDeviceIntegration.
[pure virtual]
QVector<Qt3DCore::QNodeId> QInputDeviceIntegration::physicalDevices() const
Returns the list of node ids for physical devices associated with this QInputDeviceIntegration.
[protected]
void QInputDeviceIntegration::registerBackendType(const QMetaObject &metaObject, const Qt3DCore::QBackendNodeMapperPtr &functor)
Registers a corresponding backend class for this front end implementation with metaObject and functor.