52 virtual std::string
id() = 0;
61 static std::vector<plugin*>
all();
89 std::string _id, _description;
91 basic_plugin(
const std::string& i,
const std::string& d = std::string() )
92 : _id(i),_description(d) {}
97 virtual std::string
id() {
return _id; }
140 ,
const std::string& description = std::string() )
141 : t(id,description) {
162 ,
const std::string& description = std::string() )
180 ,
const std::string& description = std::string() )
193 virtual const char * what()
const throw() {
194 return (
"Plugin \"" +
_name +
"\" was not found ").c_str();
206 std::ostream&
operator << (std::ostream&,
const plugin::help_t&);