From be2926499af2e372c313d965533be3a7ee0dcf4d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 16 May 2016 11:19:10 +0200 Subject: add tobii eyex sdk --- Tobii EyeX/include/eyex-cpp/InteractionEvent.hpp | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 Tobii EyeX/include/eyex-cpp/InteractionEvent.hpp (limited to 'Tobii EyeX/include/eyex-cpp/InteractionEvent.hpp') 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& spContext, TX_HANDLE hEvent); + + std::string GetInteractorId() const; + std::vector> GetBehaviors() const; + bool TryGetBehavior(std::shared_ptr* pspBehavior, TX_BEHAVIORTYPE behaviorType) const; +}; + +/*********************************************************************************************************************/ + +TX_NAMESPACE_END + +/*********************************************************************************************************************/ + + +#endif // !defined(__TOBII_TX_CLIENT_CPPBINDINGS_INTERACTIONEVENT__HPP__) + +/*********************************************************************************************************************/ -- cgit v1.2.3