37 const std::string m_Name;
38 const std::string m_Desc;
51 const std::string&
Name()
const;
58 const std::string&
Desc()
const;
80 std::vector<std::string> argv)
const = 0;
An action that generates language-specific bridge of given interface representation.
virtual ~BackendAction()=default
virtual int Run(std::string confPath, std::string libPath, std::string outPath, std::vector< std::string > argv) const =0
Runs action with given paths.
const std::string & Name() const
Gets the name of this action.
static const std::vector< BackendAction * > & GetRegistered()
Gets all registered actions.
BackendKind Kind() const
Gets the kind of this action.
const std::string & Desc() const
Gets the description of this action.
BackendAction(BackendKind kind, std::string name, std::string desc)