Monero
Loading...
Searching...
No Matches
console_handler.h File Reference
#include "misc_log_ex.h"
#include "string_tools.h"
#include <atomic>
#include <condition_variable>
#include <functional>
#include <mutex>
#include <thread>
#include <iostream>
#include <boost/thread.hpp>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
Include dependency graph for console_handler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  epee::async_stdin_reader
class  epee::async_console_handler
class  epee::command_handler
class  epee::console_handlers_binder

Namespaces

namespace  epee
 TODO: (mj-xmr) This will be reduced in an another PR.

Macros

#define MONERO_DEFAULT_LOG_CATEGORY   "console_handler"

Functions

template<class t_server>
bool epee::empty_commands_handler (t_server *psrv, const std::string &command)
template<class t_server, class t_handler>
bool epee::start_default_console (t_server *ptsrv, t_handler handlr, std::function< std::string(void)> prompt, const std::string &usage="")
template<class t_server, class t_handler>
bool epee::start_default_console (t_server *ptsrv, t_handler handlr, const std::string &prompt, const std::string &usage="")
template<class t_server>
bool epee::start_default_console (t_server *ptsrv, const std::string &prompt, const std::string &usage="")
template<class t_server, class t_handler>
bool epee::no_srv_param_adapter (t_server *ptsrv, const std::string &cmd, t_handler handlr)
template<class t_server, class t_handler>
bool epee::run_default_console_handler_no_srv_param (t_server *ptsrv, t_handler handlr, std::function< std::string(void)> prompt, const std::string &usage="")
template<class t_server, class t_handler>
bool epee::run_default_console_handler_no_srv_param (t_server *ptsrv, t_handler handlr, const std::string &prompt, const std::string &usage="")
template<class t_server, class t_handler>
bool epee::start_default_console_handler_no_srv_param (t_server *ptsrv, t_handler handlr, std::function< std::string(void)> prompt, const std::string &usage="")
template<class t_server, class t_handler>
bool epee::start_default_console_handler_no_srv_param (t_server *ptsrv, t_handler handlr, const std::string &prompt, const std::string &usage="")

Macro Definition Documentation

◆ MONERO_DEFAULT_LOG_CATEGORY

#define MONERO_DEFAULT_LOG_CATEGORY   "console_handler"