summaryrefslogtreecommitdiffhomepage
path: root/Tobii EyeX/include/eyex-cpp/InteractionEvent.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tobii EyeX/include/eyex-cpp/InteractionEvent.hpp')
-rwxr-xr-xTobii EyeX/include/eyex-cpp/InteractionEvent.hpp35
1 files changed, 35 insertions, 0 deletions
diff --git a/Tobii EyeX/include/eyex-cpp/InteractionEvent.hpp b/Tobii EyeX/include/eyex-cpp/InteractionEvent.hpp
new file mode 100755
index 0000000..2e6839f
--- /dev/null
+++ b/Tobii EyeX/include/eyex-cpp/InteractionEvent.hpp
@@ -0,0 +1,35 @@
+/*********************************************************************************************************************
+ * Copyright 2013-2014 Tobii Technology AB. All rights reserved.
+ * InteractionEvent.hpp
+ *********************************************************************************************************************/
+
+#if !defined(__TOBII_TX_CLIENT_CPPBINDINGS_INTERACTIONEVENT__HPP__)
+#define __TOBII_TX_CLIENT_CPPBINDINGS_INTERACTIONEVENT__HPP__
+
+/*********************************************************************************************************************/
+
+TX_NAMESPACE_BEGIN
+
+/*********************************************************************************************************************/
+
+class InteractionEvent :
+ public InteractionObject
+{
+public:
+ InteractionEvent(const std::shared_ptr<const Context>& spContext, TX_HANDLE hEvent);
+
+ std::string GetInteractorId() const;
+ std::vector<std::shared_ptr<Behavior>> GetBehaviors() const;
+ bool TryGetBehavior(std::shared_ptr<Behavior>* pspBehavior, TX_BEHAVIORTYPE behaviorType) const;
+};
+
+/*********************************************************************************************************************/
+
+TX_NAMESPACE_END
+
+/*********************************************************************************************************************/
+
+
+#endif // !defined(__TOBII_TX_CLIENT_CPPBINDINGS_INTERACTIONEVENT__HPP__)
+
+/*********************************************************************************************************************/