30 #ifndef PLUGINLIB__CLASS_LOADER_BASE_HPP_ 31 #define PLUGINLIB__CLASS_LOADER_BASE_HPP_ 74 virtual std::string
getName(
const std::string & lookup_name) = 0;
88 virtual std::string
getClassType(
const std::string & lookup_name) = 0;
108 virtual std::string
getClassPackage(
const std::string & lookup_name) = 0;
122 virtual bool isClassLoaded(
const std::string & lookup_name) = 0;
156 #endif // PLUGINLIB__CLASS_LOADER_BASE_HPP_ virtual bool isClassAvailable(const std::string &lookup_name)=0
Check if the class associated with a plugin name is available to be loaded.
virtual void refreshDeclaredClasses()=0
Refresh the list of all available classes for this ClassLoader's base class type. ...
virtual std::vector< std::string > getRegisteredLibraries()=0
Return the libraries that are registered and can be loaded.
virtual std::string getClassLibraryPath(const std::string &lookup_name)=0
Given the name of a class, return the path to its associated library.
Pure virtual base class of pluginlib::ClassLoader which is not templated.
virtual std::string getClassType(const std::string &lookup_name)=0
Given the lookup name of a class, return the type of the derived class associated with it...
virtual void loadLibraryForClass(const std::string &lookup_name)=0
Attempt to load a class with a given name.
virtual std::vector< std::string > getDeclaredClasses()=0
Return a list of all available classes for this ClassLoader's base class type.
virtual std::vector< std::string > getPluginXmlPaths()=0
Return a list of all available plugin manifest paths.
virtual std::string getClassPackage(const std::string &lookup_name)=0
Given the name of a class, return name of the containing package.
virtual std::string getPluginManifestPath(const std::string &lookup_name)=0
Given the name of a class, return the path of the associated plugin manifest.
virtual int unloadLibraryForClass(const std::string &lookup_name)=0
Attempt to unload a class with a given name.
virtual std::string getName(const std::string &lookup_name)=0
Strip the package name off of a lookup name.
virtual std::string getClassDescription(const std::string &lookup_name)=0
Given the lookup name of a class, return its description.
virtual bool isClassLoaded(const std::string &lookup_name)=0
Check if a given class is currently loaded.
virtual ~ClassLoaderBase()
Empty virtual destructor.
virtual std::string getBaseClassType() const =0
Given the lookup name of a class, return the type of the associated base class.