<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qinputdeviceintegration.cpp --> <title>QInputDeviceIntegration Class | Qt 3D 5.11</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td ><a href="../qtdoc/index.html">Qt 5.11</a></td><td ><a href="qt3d-index.html">Qt 3D</a></td><td ><a href="qt3d-cpp.html">C++ Classes</a></td><td >QInputDeviceIntegration</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.11.2 Reference Documentation</td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#public-functions">Public Functions</a></li> <li class="level1"><a href="#protected-functions">Protected Functions</a></li> <li class="level1"><a href="#details">Detailed Description</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">QInputDeviceIntegration Class</h1> <span class="small-subtitle">(<a href="qt3dinput-qinputdeviceintegration.html">Qt3DInput::QInputDeviceIntegration</a>)<br/></span> <!-- $$$QInputDeviceIntegration-brief --> <p>Abstract base class used to define new input methods such as game controllers. <a href="#details">More...</a></p> <!-- @@@QInputDeviceIntegration --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QInputDeviceIntegration></span> </td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += 3dinput</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 5.5</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="../qtcore/qobject.html">QObject</a></td></tr></table></div><ul> <li><a href="qt3dinput-qinputdeviceintegration-members.html">List of all members, including inherited members</a></li> </ul> <a name="public-functions"></a> <h2 id="public-functions">Public Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> virtual Qt3DInput::QAbstractPhysicalDevice *</td><td class="memItemRight bottomAlign"><b><a href="qt3dinput-qinputdeviceintegration.html#createPhysicalDevice">createPhysicalDevice</a></b>(const QString &<i>name</i>) = 0</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> virtual QStringList </td><td class="memItemRight bottomAlign"><b><a href="qt3dinput-qinputdeviceintegration.html#deviceNames">deviceNames</a></b>() const = 0</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dinput-qinputdeviceintegration.html#initialize">initialize</a></b>(Qt3DInput::QInputAspect *<i>aspect</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> virtual QVector<Qt3DCore::QAspectJobPtr> </td><td class="memItemRight bottomAlign"><b><a href="qt3dinput-qinputdeviceintegration.html#jobsToExecute">jobsToExecute</a></b>(qint64 <i>time</i>) = 0</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> virtual Qt3DInput::QAbstractPhysicalDeviceBackendNode *</td><td class="memItemRight bottomAlign"><b><a href="qt3dinput-qinputdeviceintegration.html#physicalDevice">physicalDevice</a></b>(Qt3DCore::QNodeId <i>id</i>) const = 0</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> virtual QVector<Qt3DCore::QNodeId> </td><td class="memItemRight bottomAlign"><b><a href="qt3dinput-qinputdeviceintegration.html#physicalDevices">physicalDevices</a></b>() const = 0</td></tr> </table></div> <ul> <li class="fn">34 public functions inherited from <a href="../qtcore/qobject.html#public-functions">QObject</a></li> </ul> <a name="protected-functions"></a> <h2 id="protected-functions">Protected Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qt3dinput-qinputdeviceintegration.html#QInputDeviceIntegration">QInputDeviceIntegration</a></b>(QObject *<i>parent</i> = nullptr)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> Qt3DInput::QInputAspect *</td><td class="memItemRight bottomAlign"><b><a href="qt3dinput-qinputdeviceintegration.html#inputAspect">inputAspect</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dinput-qinputdeviceintegration.html#registerBackendType">registerBackendType</a></b>(const Qt3DCore::QBackendNodeMapperPtr &<i>functor</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dinput-qinputdeviceintegration.html#registerBackendType-1">registerBackendType</a></b>(const QMetaObject &<i>metaObject</i>, const Qt3DCore::QBackendNodeMapperPtr &<i>functor</i>)</td></tr> </table></div> <ul> <li class="fn">9 protected functions inherited from <a href="../qtcore/qobject.html#protected-functions">QObject</a></li> </ul> <h3>Additional Inherited Members</h3> <ul> <li class="fn">1 property inherited from <a href="../qtcore/qobject.html#properties">QObject</a></li> <li class="fn">1 public slot inherited from <a href="../qtcore/qobject.html#public-slots">QObject</a></li> <li class="fn">2 signals inherited from <a href="../qtcore/qobject.html#signals">QObject</a></li> <li class="fn">1 public variable inherited from <a href="../qtcore/qobject.html#public-variables">QObject</a></li> <li class="fn">10 static public members inherited from <a href="../qtcore/qobject.html#static-public-members">QObject</a></li> <li class="fn">2 protected variables inherited from <a href="../qtcore/qobject.html#protected-variables">QObject</a></li> </ul> <a name="details"></a> <!-- $$$QInputDeviceIntegration-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>Abstract base class used to define new input methods such as game controllers.</p> </div> <!-- @@@QInputDeviceIntegration --> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$QInputDeviceIntegration[overload1]$$$QInputDeviceIntegrationQObject* --> <h3 class="fn" id="QInputDeviceIntegration"><a name="QInputDeviceIntegration"></a><code>[protected] </code>QInputDeviceIntegration::<span class="name">QInputDeviceIntegration</span>(<span class="type"><a href="../qtcore/qobject.html#QObject">QObject</a></span> *<i>parent</i> = nullptr)</h3> <p>Creates a new <a href="qt3dinput-qinputdeviceintegration.html">QInputDeviceIntegration</a> with <i>parent</i>.</p> <!-- @@@QInputDeviceIntegration --> <!-- $$$createPhysicalDevice[overload1]$$$createPhysicalDeviceconstQString& --> <h3 class="fn" id="createPhysicalDevice"><a name="createPhysicalDevice"></a><code>[pure virtual] </code><span class="type">Qt3DInput::QAbstractPhysicalDevice</span> *QInputDeviceIntegration::<span class="name">createPhysicalDevice</span>(const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &<i>name</i>)</h3> <p>Create the Physical device identified by <i>name</i>.</p> <p>If not recognized return nullptr</p> <!-- @@@createPhysicalDevice --> <!-- $$$deviceNames[overload1]$$$deviceNames --> <h3 class="fn" id="deviceNames"><a name="deviceNames"></a><code>[pure virtual] </code><span class="type"><a href="../qtcore/qstringlist.html">QStringList</a></span> QInputDeviceIntegration::<span class="name">deviceNames</span>() const</h3> <!-- @@@deviceNames --> <!-- $$$initialize[overload1]$$$initializeQt3DInput::QInputAspect* --> <h3 class="fn" id="initialize"><a name="initialize"></a><span class="type">void</span> QInputDeviceIntegration::<span class="name">initialize</span>(<span class="type">Qt3DInput::QInputAspect</span> *<i>aspect</i>)</h3> <p>Called by the InputAspect object after the integration has been created with <i>aspect</i>.</p> <!-- @@@initialize --> <!-- $$$inputAspect[overload1]$$$inputAspect --> <h3 class="fn" id="inputAspect"><a name="inputAspect"></a><code>[protected] </code><span class="type">Qt3DInput::QInputAspect</span> *QInputDeviceIntegration::<span class="name">inputAspect</span>() const</h3> <p>QInputDeviceIntegration::inputAspect Returns the Input Aspect associated with the InputDeviceIntegration</p> <!-- @@@inputAspect --> <!-- $$$jobsToExecute[overload1]$$$jobsToExecuteqint64 --> <h3 class="fn" id="jobsToExecute"><a name="jobsToExecute"></a><code>[pure virtual] </code><span class="type"><a href="../qtcore/qvector.html">QVector</a></span><<span class="type">Qt3DCore::QAspectJobPtr</span>> QInputDeviceIntegration::<span class="name">jobsToExecute</span>(<span class="type"><a href="../qtcore/qtglobal.html#qint64-typedef">qint64</a></span> <i>time</i>)</h3> <!-- @@@jobsToExecute --> <!-- $$$physicalDevice[overload1]$$$physicalDeviceQt3DCore::QNodeId --> <h3 class="fn" id="physicalDevice"><a name="physicalDevice"></a><code>[pure virtual] </code><span class="type">Qt3DInput::QAbstractPhysicalDeviceBackendNode</span> *QInputDeviceIntegration::<span class="name">physicalDevice</span>(<span class="type">Qt3DCore::QNodeId</span> <i>id</i>) const</h3> <p>Returns the <a href="qt3dinput-qabstractphysicaldevice.html">QAbstractPhysicalDevice</a> identified by the given <i>id</i> if it is related to this <a href="qt3dinput-qinputdeviceintegration.html">QInputDeviceIntegration</a>.</p> <!-- @@@physicalDevice --> <!-- $$$physicalDevices[overload1]$$$physicalDevices --> <h3 class="fn" id="physicalDevices"><a name="physicalDevices"></a><code>[pure virtual] </code><span class="type"><a href="../qtcore/qvector.html">QVector</a></span><<span class="type">Qt3DCore::QNodeId</span>> QInputDeviceIntegration::<span class="name">physicalDevices</span>() const</h3> <p>Returns the list of node ids for physical devices associated with this <a href="qt3dinput-qinputdeviceintegration.html">QInputDeviceIntegration</a>.</p> <!-- @@@physicalDevices --> <!-- $$$registerBackendType[overload1]$$$registerBackendTypeconstQt3DCore::QBackendNodeMapperPtr& --> <h3 class="fn" id="registerBackendType"><a name="registerBackendType"></a><code>[protected] </code><span class="type">void</span> QInputDeviceIntegration::<span class="name">registerBackendType</span>(const <span class="type">Qt3DCore::QBackendNodeMapperPtr</span> &<i>functor</i>)</h3> <!-- @@@registerBackendType --> <!-- $$$registerBackendType$$$registerBackendTypeconstQMetaObject&constQt3DCore::QBackendNodeMapperPtr& --> <h3 class="fn" id="registerBackendType-1"><a name="registerBackendType-1"></a><code>[protected] </code><span class="type">void</span> QInputDeviceIntegration::<span class="name">registerBackendType</span>(const <span class="type"><a href="../qtcore/qmetaobject.html">QMetaObject</a></span> &<i>metaObject</i>, const <span class="type">Qt3DCore::QBackendNodeMapperPtr</span> &<i>functor</i>)</h3> <p>Registers a corresponding backend class for this front end implementation with <i>metaObject</i> and <i>functor</i>.</p> <!-- @@@registerBackendType --> </div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br/> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br/> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. </p> </div> </body> </html>