summaryrefslogtreecommitdiffstats
path: root/src/animation/backend/managers_p.h
diff options
context:
space:
mode:
authorChip Collier <gregory.collier@kdab.com>2017-07-21 11:02:35 +0200
committerSean Harmer <sean.harmer@kdab.com>2017-07-24 09:02:37 +0000
commit721c44edfdedb0360181f8160144709867ed8749 (patch)
tree59f63b8a52a71632fac358b928daef35fb57a0ff /src/animation/backend/managers_p.h
parente256972b2f1be3a0ccf2a0fa31424171ba856e01 (diff)
Add clock property to QAbstractClipAnimator
Introduces "clock" property to QAbstractClipAnimator and updates associated tests. Updated backend animator nodes and associated evaluation jobs. Change-Id: Id18cabdd710b9b7253772642f21f63043d316a42 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/animation/backend/managers_p.h')
-rw-r--r--src/animation/backend/managers_p.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/animation/backend/managers_p.h b/src/animation/backend/managers_p.h
index f99ed0698..589e5ec3b 100644
--- a/src/animation/backend/managers_p.h
+++ b/src/animation/backend/managers_p.h
@@ -54,6 +54,7 @@
#include <QtGlobal>
#include <Qt3DAnimation/private/handle_types_p.h>
#include <Qt3DAnimation/private/animationclip_p.h>
+#include <Qt3DAnimation/private/clock_p.h>
#include <Qt3DAnimation/private/blendedclipanimator_p.h>
#include <Qt3DAnimation/private/clipanimator_p.h>
#include <Qt3DAnimation/private/channelmapping_p.h>
@@ -77,6 +78,16 @@ public:
AnimationClipLoaderManager() {}
};
+class ClockManager : public Qt3DCore::QResourceManager<
+ Clock,
+ Qt3DCore::QNodeId,
+ 16,
+ Qt3DCore::ArrayAllocatingPolicy>
+{
+public:
+ ClockManager() {}
+};
+
class ClipAnimatorManager : public Qt3DCore::QResourceManager<
ClipAnimator,
Qt3DCore::QNodeId,