|
libmoost
|
Interface for remote command shell. More...
#include <remote_shell.h>

Public Member Functions | |
| virtual bool | handle_command (std::string &_return, const std::string &cmd, const std::string &args)=0 |
| Application-specific command handler. | |
| virtual std::string | get_prompt () const =0 |
| Return application prompt. | |
| virtual std::string | show_help () const =0 |
| Return command help. | |
Interface for remote command shell.
Definition at line 115 of file remote_shell.h.
| virtual std::string moost::service::remote_shell_iface::get_prompt | ( | ) | const [pure virtual] |
Return application prompt.
Implemented in moost::service::remote_shell< HandlerType >.
| virtual bool moost::service::remote_shell_iface::handle_command | ( | std::string & | _return, |
| const std::string & | cmd, | ||
| const std::string & | args | ||
| ) | [pure virtual] |
Application-specific command handler.
| _return | Write any message to be sent back to the user to this variable. |
| cmd | The command entered by the user |
| args | Any arguments entered after the command |
false if you don't implement any commands. Implemented in moost::service::remote_shell< HandlerType >.

| virtual std::string moost::service::remote_shell_iface::show_help | ( | ) | const [pure virtual] |
Return command help.
Implemented in moost::service::remote_shell< HandlerType >.