machineioman.h 605 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef MACHINEIOMAN_H
  2. #define MACHINEIOMAN_H
  3. #include "ioman.h"
  4. /**
  5. * @class MachineIoMan
  6. *
  7. * Provides specific implementations of IoMan outputs and prompts
  8. * for interactive non-user sessions
  9. */
  10. class MachineIoMan : public IoMan {
  11. public:
  12. using IoMan::IoMan;
  13. protected:
  14. /**
  15. * Specific implementations for printing messages
  16. */
  17. void printMessage(std::string msg, OutMsgType type);
  18. void printWelcomeMessage();
  19. /**
  20. * Return the specific prompt strings for IoMan prompts
  21. */
  22. std::string getCmdPrompt();
  23. std::string getUserPrompt();
  24. std::string getPassPrompt();
  25. };
  26. #endif