machineioman.h 594 B

123456789101112131415161718192021222324252627282930
  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. /**
  14. * Specific implementations for printing messages
  15. */
  16. void printMessage(std::string msg, OutMsgType type);
  17. void printWelcomeMessage();
  18. /**
  19. * Return the specific prompt strings for IoMan prompts
  20. */
  21. std::string getCmdPrompt();
  22. std::string getUserPrompt();
  23. std::string getPassPrompt();
  24. };
  25. #endif