diff options
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(); |