diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-09-30 15:01:35 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-09-30 15:02:01 +0200 |
commit | 72c46bdd7f5d430ab1ad1d420ed77c7f22df857a (patch) | |
tree | ad288a9b0eecb5c9d6afa9a42fcb87b017080484 /Tobii EyeX/include/eyex-cpp/InteractionEvent.inl | |
parent | 6f1cc7dbf4af2503e6624d939c6f9dc7ee1cfd24 (diff) |
rename
Diffstat (limited to 'Tobii EyeX/include/eyex-cpp/InteractionEvent.inl')
-rwxr-xr-x | Tobii EyeX/include/eyex-cpp/InteractionEvent.inl | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/Tobii EyeX/include/eyex-cpp/InteractionEvent.inl b/Tobii EyeX/include/eyex-cpp/InteractionEvent.inl deleted file mode 100755 index b650bef..0000000 --- a/Tobii EyeX/include/eyex-cpp/InteractionEvent.inl +++ /dev/null @@ -1,63 +0,0 @@ -/*********************************************************************************************************************
- * Copyright 2013-2014 Tobii Technology AB. All rights reserved.
- * InteractionEvent.inl
- *********************************************************************************************************************/
-
-#if !defined(__TOBII_TX_CLIENT_CPPBINDINGS_INTERACTIONEVENT__INL__)
-#define __TOBII_TX_CLIENT_CPPBINDINGS_INTERACTIONEVENT__INL__
-
-/*********************************************************************************************************************/
-
-TX_NAMESPACE_BEGIN
-
-/*********************************************************************************************************************/
-
-inline InteractionEvent::InteractionEvent(const std::shared_ptr<const Context>& spContext, TX_HANDLE hEvent)
-: InteractionObject(spContext, hEvent)
-{}
-
-/*********************************************************************************************************************/
-
-inline std::string InteractionEvent::GetInteractorId() const
-{
- return GetString(txGetEventInteractorId, _hObject);
-}
-
-/*********************************************************************************************************************/
-
-inline std::vector<std::shared_ptr<Behavior>> InteractionEvent::GetBehaviors() const
-{
- std::vector<Tx::Utils::ScopedHandle> behaviorHandles;
- TX_VALIDATE(Tx::Utils::GetBufferData(behaviorHandles, txGetEventBehaviors, _hObject));
-
- std::vector<std::shared_ptr<Behavior>> behaviors;
- for(auto& hBehavior : behaviorHandles)
- {
- auto spBehavior = _spContext->CreateObject<Behavior>(hBehavior);
- behaviors.push_back(spBehavior);
- }
-
- return behaviors;
-}
-
-/*********************************************************************************************************************/
-
-inline bool InteractionEvent::TryGetBehavior(std::shared_ptr<Behavior>* pspBehavior, TX_BEHAVIORTYPE behaviorType) const
-{
- Tx::Utils::ScopedHandle hBehavior;
- if(!TX_VALIDATE(txGetEventBehavior(_hObject, &hBehavior, behaviorType), TX_RESULT_NOTFOUND))
- return false;
-
- *pspBehavior = _spContext->CreateObject<Behavior>(hBehavior);
- return true;
-}
-
-/*********************************************************************************************************************/
-
-TX_NAMESPACE_END
-
-/*********************************************************************************************************************/
-
-#endif // !defined(__TOBII_TX_CLIENT_CPPBINDINGS_INTERACTIONEVENT__INL__)
-
-/*********************************************************************************************************************/
|