summaryrefslogtreecommitdiff
path: root/src/Serial.hpp
diff options
context:
space:
mode:
authorRALOVICH, Kristof <tade60@freemail.hu>2014-01-15 00:12:13 +0100
committerRALOVICH, Kristof <tade60@freemail.hu>2014-01-15 00:12:13 +0100
commitf61c01c6eb3bc4c5d90a6a6c9928788df7bbf785 (patch)
tree8ac734ffe2d280acbba668b3cc8f5eebf65c966f /src/Serial.hpp
parent4d099b1b2049bda46118ac1e4b995d06eef8b96e (diff)
Serial: implement central factory method
as Serial::instantiate()
Diffstat (limited to 'src/Serial.hpp')
-rw-r--r--src/Serial.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Serial.hpp b/src/Serial.hpp
index 46b2e0f..9cb0b31 100644
--- a/src/Serial.hpp
+++ b/src/Serial.hpp
@@ -36,6 +36,7 @@ public:
virtual const char* getImplName() = 0;
virtual bool isOpen() const = 0;
virtual bool setWriteDelay(const size_t ms) = 0;
+ static Serial* instantiate(void* p = NULL);
};
}