36 #ifndef _PASSWORD_CHANGER_HPP_INCLUDED
37 #define _PASSWORD_CHANGER_HPP_INCLUDED
66 static const char* ar[] = {
"MESSAGE_AVAILABLE",
88 virtual void messageIn(
const std::string& message ) = 0;
108 #endif // _PASSWORD_CHANGER_HPP_INCLUDED
an output message is available
Definition: passwordChanger.hpp:56
virtual void messageIn(const std::string &message)=0
virtual ~PasswordChanger()
The virtual destructor.
Definition: passwordChanger.hpp:76
Password changer interface This the only interface to be used by the system. All other interfaces are...
Definition: passwordChanger.hpp:52
the password has been successfuly changed
Definition: passwordChanger.hpp:58
waiting for an input message
Definition: passwordChanger.hpp:57
virtual std::string password()=0
Definition: passwordChanger.hpp:59
static const char * statusName(Status i)
Definition: passwordChanger.hpp:64
virtual std::string messageOut()=0
some other error occurred
Definition: passwordChanger.hpp:61
virtual Status status() const =0
The current status of the password changer.
Status
Definition: passwordChanger.hpp:55