#ifndef __CONTROLLER_H #define __CONTROLLER_H #include "ControllerState.hpp" //#include "LoggerState.hpp" #include class Controller { private: static Controller instance; std::ostream logfile; ControllerState * state; LoggerState * LOGGER_STATE; // SimpleState *SIMPLE_STATE; public: static Controller getInstance(); void execute(std::string state, std::string service, std::string input); void setState(ControllerState * newState); void setStream(fstream * newStream); }; #endif