summaryrefslogtreecommitdiff
path: root/include/actuator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/actuator.hpp')
-rw-r--r--include/actuator.hpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/actuator.hpp b/include/actuator.hpp
new file mode 100644
index 0000000..e7c4120
--- /dev/null
+++ b/include/actuator.hpp
@@ -0,0 +1,30 @@
+#pragma once
+
+
+class Actuator {
+
+ private:
+
+
+ public:
+
+ /**
+ * @brief Initialize the actuator.
+ *
+ * @param data Data for initializing the actuator
+ *
+ * @return true Initialization Success
+ * @return false Initialization Failure
+ */
+ virtual bool init(void* data) = 0;
+
+ /**
+ * @brief Pass data to the actuator.
+ *
+ * @param data Data to sent to the actuator
+ *
+ * @return true Actuator write Success
+ * @return false Actuator write Failure
+ */
+ virtual bool writeData(void* data) = 0;
+}; \ No newline at end of file