Abstract base class used to define new input methods such as game controllers. 更多...
| 头: | #include <QInputDeviceIntegration> | 
| qmake: | QT += 3dinput | 
| Since: | Qt 5.5 | 
| 继承: | QObject | 
| virtual Qt3DInput::QAbstractPhysicalDevice * | createPhysicalDevice (const QString & name ) = 0 | 
| virtual QStringList | deviceNames () const = 0 | 
| void | initialize (Qt3DInput::QInputAspect * aspect ) | 
| virtual QVector<Qt3DCore::QAspectJobPtr> | jobsToExecute (qint64 time ) = 0 | 
| virtual Qt3DInput::QAbstractPhysicalDeviceBackendNode * | physicalDevice (Qt3DCore::QNodeId id ) const = 0 | 
| virtual QVector<Qt3DCore::QNodeId> | physicalDevices () const = 0 | 
| const QMetaObject | staticMetaObject | 
| QInputDeviceIntegration (QObject * parent = nullptr) | |
| Qt3DInput::QInputAspect * | inputAspect () const | 
| void | registerBackendType (const Qt3DCore::QBackendNodeMapperPtr & functor ) | 
| void | registerBackendType (const QMetaObject & metaObject , const Qt3DCore::QBackendNodeMapperPtr & functor ) | 
Abstract base class used to define new input methods such as game controllers.
[protected]
						
						QInputDeviceIntegration::
						
							QInputDeviceIntegration
						
						(
						
							
								QObject
							
						
						*
						
							parent
						
						= nullptr)
						
					创建新的 QInputDeviceIntegration with parent .
[pure virtual]
						
						
							
								Qt3DInput::QAbstractPhysicalDevice
							
						
						*QInputDeviceIntegration::
						
							createPhysicalDevice
						
						(const
						
							
								QString
							
						
						&
						name
						)
						
					Create the Physical device identified by name .
If not recognized return nullptr
[pure virtual]
						
						
							
								QStringList
							
						
						QInputDeviceIntegration::
						
							deviceNames
						
						() const
						
					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]
						
						
							
								QVector
							
						
						<
						
							
								Qt3DCore::QAspectJobPtr
							
						
						> QInputDeviceIntegration::
						
							jobsToExecute
						
						(
						
							
								qint64
							
						
						
							time
						
						)
						
					
[pure virtual]
						
						
							Qt3DInput::QAbstractPhysicalDeviceBackendNode
						
						*QInputDeviceIntegration::
						
							physicalDevice
						
						(
						
							
								Qt3DCore::QNodeId
							
						
						
							id
						
						) const
						
					返回 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
						
							
								Qt3DCore::QBackendNodeMapperPtr
							
						
						&
						
							functor
						
						)
						
					
[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 .