summaryrefslogtreecommitdiffhomepage
path: root/Tobii-EyeX/include/eyex-cpp/Command.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tobii-EyeX/include/eyex-cpp/Command.hpp')
-rwxr-xr-xTobii-EyeX/include/eyex-cpp/Command.hpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/Tobii-EyeX/include/eyex-cpp/Command.hpp b/Tobii-EyeX/include/eyex-cpp/Command.hpp
new file mode 100755
index 0000000..ef1f189
--- /dev/null
+++ b/Tobii-EyeX/include/eyex-cpp/Command.hpp
@@ -0,0 +1,38 @@
+/*********************************************************************************************************************
+ * Copyright 2013-2014 Tobii Technology AB. All rights reserved.
+ * Command.hpp
+ *********************************************************************************************************************/
+
+#if !defined(__TOBII_TX_CLIENT_CPPBINDINGS_Command__HPP__)
+#define __TOBII_TX_CLIENT_CPPBINDINGS_Command__HPP__
+
+/*********************************************************************************************************************/
+
+TX_NAMESPACE_BEGIN
+
+/*********************************************************************************************************************/
+
+class Command :
+ public InteractionObject
+{
+public:
+ Command(const std::shared_ptr<const Context>& spContext, TX_HANDLE hCommand);
+
+ TX_COMMANDTYPE GetType() const;
+ void ExecuteAsync(AsyncDataHandler fnHandler);
+
+public:
+ std::shared_ptr<InteractionObject> GetData() const;
+ void SetData(const std::shared_ptr<InteractionObject>& spData);
+};
+
+/*********************************************************************************************************************/
+
+TX_NAMESPACE_END
+
+/*********************************************************************************************************************/
+
+
+#endif // !defined(__TOBII_TX_CLIENT_CPPBINDINGS_Command__HPP__)
+
+/*********************************************************************************************************************/