diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-16 11:19:10 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-09 10:28:01 +0200 |
commit | be2926499af2e372c313d965533be3a7ee0dcf4d (patch) | |
tree | 34501ef650da4a2990912bd0b38ed7135696c164 /Tobii EyeX/include/eyex-cpp/Behavior.hpp | |
parent | 6eb99f06be3ead3c898b400d7b9072583c7addf0 (diff) |
add tobii eyex sdk
Diffstat (limited to 'Tobii EyeX/include/eyex-cpp/Behavior.hpp')
-rwxr-xr-x | Tobii EyeX/include/eyex-cpp/Behavior.hpp | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/Tobii EyeX/include/eyex-cpp/Behavior.hpp b/Tobii EyeX/include/eyex-cpp/Behavior.hpp new file mode 100755 index 0000000..c40d7bc --- /dev/null +++ b/Tobii EyeX/include/eyex-cpp/Behavior.hpp @@ -0,0 +1,64 @@ +/*********************************************************************************************************************
+ * Copyright 2013-2014 Tobii Technology AB. All rights reserved.
+ * Behavior.hpp
+ *********************************************************************************************************************/
+
+#if !defined(__TOBII_TX_CLIENT_CPPBINDINGS_Behavior__HPP__)
+#define __TOBII_TX_CLIENT_CPPBINDINGS_Behavior__HPP__
+
+/*********************************************************************************************************************/
+
+TX_NAMESPACE_BEGIN
+
+/*********************************************************************************************************************/
+
+class Behavior :
+ public InteractionObject
+{
+public:
+ Behavior(const std::shared_ptr<const Context>& spContext, TX_HANDLE hBehavior);
+
+ TX_BEHAVIORTYPE GetType() const;
+
+public:
+ void SetData(const std::shared_ptr<InteractionObject>& spData);
+ std::shared_ptr<InteractionObject> GetData() const;
+
+ void SetGazePointDataBehaviorParams(const TX_GAZEPOINTDATAPARAMS& pParams);
+ bool TryGetGazePointDataBehaviorParams(TX_GAZEPOINTDATAPARAMS* pParams) const;
+ bool TryGetGazePointDataEventParams(TX_GAZEPOINTDATAEVENTPARAMS* pEventParams) const;
+
+ void SetActivatableBehaviorParams(const TX_ACTIVATABLEPARAMS& pParams);
+ bool TryGetActivatableBehaviorParams(TX_ACTIVATABLEPARAMS* pParams) const;
+
+ void SetPannableBehaviorParams(const TX_PANNABLEPARAMS& pParams);
+ bool TryGetPannableBehaviorParams(TX_PANNABLEPARAMS* pParams) const;
+ bool TryGetPannableEventType(TX_PANNABLEEVENTTYPE* pEventType) const;
+ bool TryGetPannablePanEvent(TX_PANNABLEPANEVENTPARAMS* pEventParams) const;
+ bool TryGetPannableStepEvent(TX_PANNABLESTEPEVENTPARAMS* pEventParams) const;
+ bool TryGetPannableHandsFreeEvent(TX_PANNABLEHANDSFREEEVENTPARAMS* pEventParams) const;
+
+ bool TryGetActivatableEventType(TX_ACTIVATABLEEVENTTYPE* pEventType) const;
+ bool TryGetActivationFocusChangedEventParams(TX_ACTIVATIONFOCUSCHANGEDEVENTPARAMS* pEventParams) const;
+
+ void SetGazeAwareBehaviorParams(const TX_GAZEAWAREPARAMS& pParams);
+ bool TryGetGazeAwareBehaviorParams(TX_GAZEAWAREPARAMS* pParams) const;
+ bool TryGetGazeAwareEventParams(TX_GAZEAWAREEVENTPARAMS* pEventParams) const;
+
+ void SetFixationDataBehaviorParams(const TX_FIXATIONDATAPARAMS& params);
+ bool TryGetFixationDataBehaviorParams(TX_FIXATIONDATAPARAMS* pParams) const;
+ bool TryGetFixationDataEventParams(TX_FIXATIONDATAEVENTPARAMS* pEventParams) const;
+
+ bool TryGetEyePositionDataEventParams(TX_EYEPOSITIONDATAEVENTPARAMS* pEventParams) const;
+};
+
+/*********************************************************************************************************************/
+
+TX_NAMESPACE_END
+
+/*********************************************************************************************************************/
+
+
+#endif // !defined(__TOBII_TX_CLIENT_CPPBINDINGS_Behavior__HPP__)
+
+/*********************************************************************************************************************/
|