QAbstractFrameAdvanceService Class
(Qt3D::QAbstractFrameAdvanceService)Interface for a Qt3D frame advance service More...
Header: | #include <QAbstractFrameAdvanceService> |
qmake: | QT += 3dcore |
Inherits: | QAbstractServiceProvider |
Inherited By: |
Public Functions
virtual void | start() = 0 |
virtual void | stop() = 0 |
virtual qint64 | waitForNextFrame() = 0 |
- 2 public functions inherited from Qt3D::QAbstractServiceProvider
Protected Functions
QAbstractFrameAdvanceService(const QString & description = QString()) | |
QAbstractFrameAdvanceService(QAbstractFrameAdvanceServicePrivate & dd) |
Detailed Description
Interface for a Qt3D frame advance service
This is an interface class that should be subclassed by providers of the frame advance service. When used with the Renderer aspect, the aspect needs to be the one providing the ticks depending on the vertical refresh rate. When used with no Renderer aspect, a default tick clock implementation can be used.
Member Function Documentation
[protected]
QAbstractFrameAdvanceService::QAbstractFrameAdvanceService(const QString & description = QString())
[protected]
QAbstractFrameAdvanceService::QAbstractFrameAdvanceService(QAbstractFrameAdvanceServicePrivate & dd)
[pure virtual]
void QAbstractFrameAdvanceService::start()
Starts the service.
[pure virtual]
void QAbstractFrameAdvanceService::stop()
Stops the service, performing any cleanup deemed necessary.
[pure virtual]
qint64 QAbstractFrameAdvanceService::waitForNextFrame()
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. 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.