16 #ifndef __VOM_INSPECT_H__ 17 #define __VOM_INSPECT_H__ 49 void handle_input(
const std::string& input, std::ostream& output);
63 virtual void show(std::ostream& os) = 0;
70 const std::string& help,
77 static std::unique_ptr<std::map<std::string, command_handler*>>
82 static std::unique_ptr<
83 std::deque<std::pair<std::vector<std::string>, std::string>>>
static void register_handler(const std::vector< std::string > &cmds, const std::string &help, command_handler *ch)
Register a command handler for inspection.
~inspect()=default
Destructor to tidyup socket resources.
A means to inspect the state VPP has built, in total, and per-client.
void handle_input(const std::string &input, std::ostream &output)
handle input from the requester
inspect command handler Handler
virtual void show(std::ostream &os)=0
Show each object.
virtual ~command_handler()=default
The VPP Object Model (VOM) library.
inspect()=default
Constructor.
command_handler()=default