summaryrefslogtreecommitdiffhomepage
path: root/Tobii-EyeX/include/eyex-cpp/Snapshot.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-09-30 15:01:35 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-09-30 15:02:01 +0200
commit72c46bdd7f5d430ab1ad1d420ed77c7f22df857a (patch)
treead288a9b0eecb5c9d6afa9a42fcb87b017080484 /Tobii-EyeX/include/eyex-cpp/Snapshot.hpp
parent6f1cc7dbf4af2503e6624d939c6f9dc7ee1cfd24 (diff)
rename
Diffstat (limited to 'Tobii-EyeX/include/eyex-cpp/Snapshot.hpp')
-rwxr-xr-xTobii-EyeX/include/eyex-cpp/Snapshot.hpp53
1 files changed, 53 insertions, 0 deletions
diff --git a/Tobii-EyeX/include/eyex-cpp/Snapshot.hpp b/Tobii-EyeX/include/eyex-cpp/Snapshot.hpp
new file mode 100755
index 0000000..1b1befb
--- /dev/null
+++ b/Tobii-EyeX/include/eyex-cpp/Snapshot.hpp
@@ -0,0 +1,53 @@
+/*********************************************************************************************************************
+ * Copyright 2013-2014 Tobii Technology AB. All rights reserved.
+ * Snapshot.hpp
+ *********************************************************************************************************************/
+
+#if !defined(__TOBII_TX_CLIENT_CPPBINDINGS_Snapshot__HPP__)
+#define __TOBII_TX_CLIENT_CPPBINDINGS_Snapshot__HPP__
+
+/*********************************************************************************************************************/
+
+TX_NAMESPACE_BEGIN
+
+/*********************************************************************************************************************/
+
+class Snapshot :
+ public InteractionObject
+{
+public:
+ Snapshot(const std::shared_ptr<const Context>& spContext, TX_HANDLE hSnapshot);
+ static std::shared_ptr<Snapshot> CreateSnapshotForQuery(const std::shared_ptr<Query>& spQuery);
+ static std::shared_ptr<Snapshot> CreateSnapshotWithQueryBounds(const std::shared_ptr<Query>& spQuery);
+
+
+ std::shared_ptr<Bounds> GetBounds() const;
+ std::shared_ptr<Bounds> CreateBounds(TX_BOUNDSTYPE boundsType);
+ void SetBoundsFromQuery();
+ void DeleteBounds();
+
+ std::vector<std::shared_ptr<Interactor>> GetInteractors() const;
+
+ std::shared_ptr<Interactor> CreateInteractor(
+ const std::string& interactorId,
+ const std::string& parentId,
+ const std::string& windowId);
+
+ void RemoveInteractor(const std::string& interactorId);
+
+ std::vector<std::string> GetWindowIds();
+ void AddWindowId(const std::string& windowId);
+
+ void CommitAsync(AsyncDataHandler fnHandler) const;
+};
+
+/*********************************************************************************************************************/
+
+TX_NAMESPACE_END
+
+/*********************************************************************************************************************/
+
+
+#endif // !defined(__TOBII_TX_CLIENT_CPPBINDINGS_Snapshot__HPP__)
+
+/*********************************************************************************************************************/