From e95e4aa674ff9379aa4ae04577ca3005aed778ee Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=A2=85=ED=98=84/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Senior=20Engineer/=EC=82=BC=EC=84=B1?= =?utf8?q?=EC=A0=84=EC=9E=90?= Date: Thu, 19 Apr 2018 11:05:10 +0900 Subject: [PATCH] [caffegen] Add 'Command' class (#94) This commit adds 'Command' class as a basic infrastructure for caffegen. Signed-off-by: Jonghyun Park --- contrib/caffegen/include/Command.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 contrib/caffegen/include/Command.h diff --git a/contrib/caffegen/include/Command.h b/contrib/caffegen/include/Command.h new file mode 100644 index 0000000..bc1c77e --- /dev/null +++ b/contrib/caffegen/include/Command.h @@ -0,0 +1,11 @@ +#ifndef __COMMAND_H__ +#define __COMMAND_H__ + +struct Command +{ + virtual ~Command() = default; + + virtual int run(void) const = 0; +}; + +#endif // __COMMAND_H__ -- 2.7.4