summaryrefslogtreecommitdiff
path: root/src/CommonAPI/Runtime.cpp
diff options
context:
space:
mode:
authorPhilip Rauwolf <rauwolf@itestra.de>2013-06-25 10:31:33 +0200
committerPhilip Rauwolf <rauwolf@itestra.de>2013-06-25 10:31:33 +0200
commit1891587b43da42d99ffab26517972523a6f80123 (patch)
treec6a7cd9e2cccb0a26f7364657777b0f52d7aea2d /src/CommonAPI/Runtime.cpp
parente85fa0d2bd06ded7ee460e818994817aca80d2ef (diff)
downloadgenivi-common-api-runtime-1891587b43da42d99ffab26517972523a6f80123.tar.gz
Overloading of visible Runtime::createFactory methods
Diffstat (limited to 'src/CommonAPI/Runtime.cpp')
-rw-r--r--src/CommonAPI/Runtime.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CommonAPI/Runtime.cpp b/src/CommonAPI/Runtime.cpp
index f930db9..f5a8096 100644
--- a/src/CommonAPI/Runtime.cpp
+++ b/src/CommonAPI/Runtime.cpp
@@ -57,6 +57,11 @@ std::shared_ptr<MainLoopContext> Runtime::getNewMainLoopContext() const {
return std::make_shared<MainLoopContext>();
}
+std::shared_ptr<Factory> Runtime::createFactory(const std::string factoryName,
+ const bool nullOnInvalidName) {
+ return createFactory(std::shared_ptr<MainLoopContext>(NULL), factoryName, nullOnInvalidName);
+}
+
std::shared_ptr<Factory> Runtime::createFactory(std::shared_ptr<MainLoopContext> mainLoopContext,
const std::string factoryName,
const bool nullOnInvalidName) {