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/InteractionObject.hpp | |
parent | 6f1cc7dbf4af2503e6624d939c6f9dc7ee1cfd24 (diff) |
rename
Diffstat (limited to 'Tobii EyeX/include/eyex-cpp/InteractionObject.hpp')
-rwxr-xr-x | Tobii EyeX/include/eyex-cpp/InteractionObject.hpp | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/Tobii EyeX/include/eyex-cpp/InteractionObject.hpp b/Tobii EyeX/include/eyex-cpp/InteractionObject.hpp deleted file mode 100755 index 75d4171..0000000 --- a/Tobii EyeX/include/eyex-cpp/InteractionObject.hpp +++ /dev/null @@ -1,63 +0,0 @@ -/*********************************************************************************************************************
- * Copyright 2013-2014 Tobii Technology AB. All rights reserved.
- * InteractionObject.hpp
- *********************************************************************************************************************/
-
-#if !defined(__TOBII_TX_CLIENT_CPPBINDINGS_INTERACTIONOBJECT__HPP__)
-#define __TOBII_TX_CLIENT_CPPBINDINGS_INTERACTIONOBJECT__HPP__
-
-/*********************************************************************************************************************/
-
-TX_NAMESPACE_BEGIN
-
-/*********************************************************************************************************************/
-
-template <typename THandle>
-class InteractionObjectBase :
- public HandleWrapper<THandle>
-{
-public:
- InteractionObjectBase(const std::shared_ptr<const Context>& spContext, THandle hObject);
-
- TX_INTERACTIONOBJECTTYPE GetObjectType() const;
-
- bool TryGetProperty(std::shared_ptr<Property>* pspProperty, const std::string& propertyName) const;
- std::shared_ptr<Property> GetProperty(const std::string& propertyName) const;
- std::vector<std::shared_ptr<Property>> GetProperties() const;
- void CopyPropertiesTo(const std::shared_ptr<InteractionObject>& spObject) const;
- std::string FormatAsText() const;
-
-public:
- template <typename TValue>
- typename PropertyValueResolver<TValue>::ValueType GetPropertyValue(const std::string& propertyName) const;
-
- template <typename TValue>
- bool TryGetPropertyValue(TValue* pValue, const std::string& propertyName) const;
-};
-
-/*********************************************************************************************************************/
-
-class InteractionObject :
- public InteractionObjectBase<TX_HANDLE>
-{
-public:
- InteractionObject(const std::shared_ptr<const Context>& spContext, TX_HANDLE hObject);
- virtual ~InteractionObject();
-
- std::shared_ptr<Property> CreateProperty(const std::string& propertyName);
-
-public:
- template <typename TValue>
- void SetPropertyValue(const std::string& propertyName, const TValue& value);
-};
-
-/*********************************************************************************************************************/
-
-TX_NAMESPACE_END
-
-/*********************************************************************************************************************/
-
-
-#endif // !defined(__TOBII_TX_CLIENT_CPPBINDINGS_INTERACTIONOBJECT__HPP__)
-
-/*********************************************************************************************************************/
|