Class CommandRegisterer

Nested Relationships

Class Documentation

class common::CommandRegisterer

Public Types

typedef std::vector<Command> Commands

Public Functions

CommandRegisterer()
MAPLAB_DISALLOW_EVIL_CONSTRUCTORS(CommandRegisterer)
int processCommand(const std::string &command)
void getAllCommands(std::vector<std::string> *all_cmds) const
void listJobs() const
void waitForJobsToFinish() const
void clear()
void addCommand(const Command &command)
const Command &getCommand(const std::string &command_name) const
struct Command

Public Functions

inline Command(const std::initializer_list<std::string> &_commands, const std::function<int()> &_callback, const std::string &_help_text, const Processing _processing_model, const std::string &_plugin_name)

Public Members

std::vector<std::string> commands
std::function<int()> callback
std::string help_text
Processing processing_model
std::string plugin_name