diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-06-24 13:03:20 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-06-24 13:03:20 (GMT) |
commit | 758bda908ded461c9d34d274a18454ffba4b7450 (patch) | |
tree | fb7f1ba28eab9f20b4ca16ed4dbc36d07dfce06e /src/uscxml/Factory.cpp | |
parent | febde41c4c69d8f38967d5c195328d468834d037 (diff) | |
download | uscxml-758bda908ded461c9d34d274a18454ffba4b7450.zip uscxml-758bda908ded461c9d34d274a18454ffba4b7450.tar.gz uscxml-758bda908ded461c9d34d274a18454ffba4b7450.tar.bz2 |
- Prolog DM compiles with recent SWI release again
- Bugfixes for stress test
- Beautified code
Diffstat (limited to 'src/uscxml/Factory.cpp')
-rw-r--r-- | src/uscxml/Factory.cpp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/uscxml/Factory.cpp b/src/uscxml/Factory.cpp index 5b7426f..8edaf07 100644 --- a/src/uscxml/Factory.cpp +++ b/src/uscxml/Factory.cpp @@ -130,7 +130,7 @@ Factory::Factory(Factory* parentFactory) : _parentFactory(parentFactory) { Factory::Factory(const std::string& pluginPath, Factory* parentFactory) : _parentFactory(parentFactory), _pluginPath(pluginPath) { registerPlugins(); } - + Factory::Factory(const std::string& pluginPath) : _parentFactory(NULL), _pluginPath(pluginPath) { registerPlugins(); } @@ -365,14 +365,6 @@ void Factory::registerPlugins() { registerIOProcessor(ioProcessor); } { - InterpreterHTTPServlet* ioProcessor = new InterpreterHTTPServlet(); - registerIOProcessor(ioProcessor); - } - { - InterpreterWebSocketServlet* ioProcessor = new InterpreterWebSocketServlet(); - registerIOProcessor(ioProcessor); - } - { FetchElement* element = new FetchElement(); registerExecutableContent(element); } @@ -422,7 +414,7 @@ while(iter != name.end()) { \ iter++; \ } - + void Factory::listComponents() { { std::cout << "Available Datamodels:" << std::endl; @@ -445,7 +437,7 @@ void Factory::listComponents() { } } } - + void Factory::registerIOProcessor(IOProcessorImpl* ioProcessor) { std::list<std::string> names = ioProcessor->getNames(); std::list<std::string>::iterator nameIter = names.begin(); |