summaryrefslogtreecommitdiffhomepage
path: root/Tobii-EyeX/include/eyex-cpp/AsyncData.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/AsyncData.hpp
parent6f1cc7dbf4af2503e6624d939c6f9dc7ee1cfd24 (diff)
rename
Diffstat (limited to 'Tobii-EyeX/include/eyex-cpp/AsyncData.hpp')
-rwxr-xr-xTobii-EyeX/include/eyex-cpp/AsyncData.hpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/Tobii-EyeX/include/eyex-cpp/AsyncData.hpp b/Tobii-EyeX/include/eyex-cpp/AsyncData.hpp
new file mode 100755
index 0000000..6ce342f
--- /dev/null
+++ b/Tobii-EyeX/include/eyex-cpp/AsyncData.hpp
@@ -0,0 +1,36 @@
+/*********************************************************************************************************************
+ * Copyright 2013-2014 Tobii Technology AB. All rights reserved.
+ * CommandResult.hpp
+ *********************************************************************************************************************/
+
+#if !defined(__TOBII_TX_CLIENT_CPPBINDINGS_ASYNCDATA__HPP__)
+#define __TOBII_TX_CLIENT_CPPBINDINGS_ASYNCDATA__HPP__
+
+/*********************************************************************************************************************/
+
+TX_NAMESPACE_BEGIN
+
+/*********************************************************************************************************************/
+
+class AsyncData :
+ public InteractionObjectBase<TX_CONSTHANDLE>
+{
+public:
+ AsyncData(const std::shared_ptr<const Context>& spContext, TX_CONSTHANDLE hAsyncData);
+
+ bool TryGetResultCode(TX_RESULT* pResultCode) const;
+ std::shared_ptr<InteractionObject> GetData() const;
+
+ template <typename TInteractionObject>
+ std::shared_ptr<TInteractionObject> GetDataAs() const;
+};
+
+/*********************************************************************************************************************/
+
+TX_NAMESPACE_END
+
+/*********************************************************************************************************************/
+
+#endif // !defined(__TOBII_TX_CLIENT_CPPBINDINGS_ASYNCDATA__HPP__)
+
+/*********************************************************************************************************************/