|
|
@@ -13,7 +13,6 @@ |
|
|
|
#include "WorkerPool.hpp"
|
|
|
|
#include "InputProcessor.hpp"
|
|
|
|
#include "OutputProcessor.hpp"
|
|
|
|
#include "CommandProcessor.hpp"
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
@@ -28,7 +27,6 @@ class ExecutiveProcess { |
|
|
|
WorkerPool* Workers; // components so they can be
|
|
|
|
InputProcessor* Input; // created, destroyed and
|
|
|
|
OutputProcessor* Output; // connected together.
|
|
|
|
CommandProcessor* Processor;
|
|
|
|
|
|
|
|
void initializeOutput(); // These do what they say.
|
|
|
|
void initializeJobPool();
|
|
|
@@ -37,6 +35,8 @@ class ExecutiveProcess { |
|
|
|
void shutdownJobPool();
|
|
|
|
void shutdownOutput();
|
|
|
|
|
|
|
|
void dispatchCommand(Command C); // Job + Worker + Command; go!
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
ExecutiveProcess(string& Version, string& Config); // Simple construction. The d'tor needs
|