#include "Process.hpp" #include #include #include #include #include #include namespace uciadapter { class ProcessLinux : public Process { /// @brief Create pipe to engine stdin int in_fd[2]; /// @brief Create pipe to the engine stdout int out_fd[2]; /// @brief Writing buffer char buffer[BUFFER_SIZE]; /// @brief Contains engine pid pid_t pid; public: ProcessLinux(); void Kill(); void Start(std::string); std::string ReadLine(); void Write(std::string); }; }; // namespace uciadapter