SST 16.0.0
Structural Simulation Toolkit
SST::IMPL::Interactive::ConsoleCommand Class Reference

Public Member Functions

 ConsoleCommand (std::string str_long, std::string str_short, std::string str_help, ConsoleCommandGroup group, std::function< bool(std::string &cmd_str)> func)
 ConsoleCommand (std::string str_long, std::string str_short, std::string str_help, ConsoleCommandGroup group, ExecutionType exec_type, std::function< bool(std::string &cmd_str)> func_serial, std::function< bool(std::string &cmd_str)> func_thread, std::function< bool(std::string &cmd_str)> func_rank_serial, std::function< bool(std::string &cmd_str)> func_rank_parallel, std::function< bool(std::vector< std::string > &tokens)> func_remote)
 ConsoleCommand (std::string str_long)
const std::string & str_long () const
const std::string & str_short () const
const std::string & str_help () const
void setUserHelp (std::string &help)
const ConsoleCommandGroup & group () const
bool exec (std::string &cmd_str)
bool exec_serial (std::string &cmd_str)
bool exec_thread (std::string &cmd_str)
bool exec_rank_serial (std::string &cmd_str)
bool exec_rank_parallel (std::string &cmd_str)
bool exec_remote (std::vector< std::string > &tokens)
bool match (const std::string &token)

Friends

std::ostream & operator<< (std::ostream &os, const ConsoleCommand c)

The documentation for this class was generated from the following file: