[caffegen] Add 'Command' class (#94)
author박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 <jh1302.park@samsung.com>
Thu, 19 Apr 2018 02:05:10 +0000 (11:05 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Thu, 19 Apr 2018 02:05:10 +0000 (11:05 +0900)
This commit adds 'Command' class as a basic infrastructure for
caffegen.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/caffegen/include/Command.h [new file with mode: 0644]

diff --git a/contrib/caffegen/include/Command.h b/contrib/caffegen/include/Command.h
new file mode 100644 (file)
index 0000000..bc1c77e
--- /dev/null
@@ -0,0 +1,11 @@
+#ifndef __COMMAND_H__
+#define __COMMAND_H__
+
+struct Command
+{
+  virtual ~Command() = default;
+
+  virtual int run(void) const = 0;
+};
+
+#endif // __COMMAND_H__