rapid
A ROS robotics library.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
command_interface.h
Go to the documentation of this file.
1 #ifndef _RAPID_UTILS_COMMAND_H_
2 #define _RAPID_UTILS_COMMAND_H_
3 
4 #include <string>
5 #include <vector>
6 
7 namespace rapid {
8 namespace utils {
10  public:
11  virtual ~CommandInterface() {}
12 
13  // Execute the command.
14  virtual void Execute(const std::vector<std::string>& args) = 0;
15 
16  // The name of the command (e.g., what the user types to run it.
17  virtual std::string name() const = 0;
18 
19  // A description of the command.
20  virtual std::string description() const = 0;
21 };
22 } // namespace utils
23 } // namespace rapid
24 
25 #endif // _RAPID_UTILS_COMMAND_H_
virtual void Execute(const std::vector< std::string > &args)=0
virtual std::string description() const =0
virtual std::string name() const =0