summaryrefslogtreecommitdiffhomepage
path: root/Tobii EyeX/include/eyex-cpp/StateBag.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tobii EyeX/include/eyex-cpp/StateBag.hpp')
-rwxr-xr-xTobii EyeX/include/eyex-cpp/StateBag.hpp44
1 files changed, 0 insertions, 44 deletions
diff --git a/Tobii EyeX/include/eyex-cpp/StateBag.hpp b/Tobii EyeX/include/eyex-cpp/StateBag.hpp
deleted file mode 100755
index 3b663ba..0000000
--- a/Tobii EyeX/include/eyex-cpp/StateBag.hpp
+++ /dev/null
@@ -1,44 +0,0 @@
-/*********************************************************************************************************************
- * Copyright 2013-2014 Tobii Technology AB. All rights reserved.
- * StateBag.hpp
- *********************************************************************************************************************/
-
-#if !defined(__TOBII_TX_CLIENT_CPPBINDINGS_STATEBAG__HPP__)
-#define __TOBII_TX_CLIENT_CPPBINDINGS_STATEBAG__HPP__
-
-/*********************************************************************************************************************/
-
-TX_NAMESPACE_BEGIN
-
-/*********************************************************************************************************************/
-
-class StateBag :
- public InteractionObject
-{
-public:
- StateBag(const std::shared_ptr<const Context>& spContext, TX_HANDLE hBag);
-
- std::string GetStatePath() const;
-
- template <typename TValue>
- bool TryGetStateValue(TValue* pValue, const std::string& valuePath) const;
-
- template <typename TValue>
- void SetStateValue(const std::string& valuePath, const TValue& value);
-
- void SetAsync(AsyncDataHandler fnCompletion = nullptr);
-
-private:
- bool TryGetPropertyForStateValue(std::shared_ptr<Property>* pspProperty, const std::string& valuePath, bool createIfNotExists) const;
-};
-
-/*********************************************************************************************************************/
-
-TX_NAMESPACE_END
-
-/*********************************************************************************************************************/
-
-
-#endif // !defined(__TOBII_TX_CLIENT_CPPBINDINGS_STATEBAG__HPP__)
-
-/*********************************************************************************************************************/