bool GetMessage(std::string & buffer, double timeout=-1); //Retrieves a message, or waits for a timeout (if positive)
bool Running() const;
-
+ bool Paused() const;
+ bool Pause();
+ bool Continue();
protected:
private:
pid_t pid; //Process ID of the program wrapped
+ bool paused;
};