#include <class_loader/class_loader.h>
Go to the source code of this file.
Defines | |
#define | PLUGINLIB_DECLARE_CLASS(pkg, class_name, class_type, base_class_type) CLASS_LOADER_REGISTER_CLASS_WITH_MESSAGE(class_type, base_class_type, "pluginlib WARNING: In file " __FILE__ " PLUGINLIB_DECLARE_CLASS is deprecated, please use PLUGINLIB_EXPORT_CLASS instead. You can run the script 'plugin_macro_update' provided with pluginlib in your package source folder to automatically and recursively update legacy macros. Base = base_class_type, Derived = derived_class_type") |
#define | PLUGINLIB_EXPORT_CLASS(class_type, base_class_type) CLASS_LOADER_REGISTER_CLASS(class_type, base_class_type); |
#define | PLUGINLIB_REGISTER_CLASS(class_name, class_type, base_class_type) CLASS_LOADER_REGISTER_CLASS_WITH_MESSAGE(class_type, base_class_type, "In file " __FILE__ " pluginlib WARNING: PLUGINLIB_REGISTER_CLASS is deprecated, please use PLUGINLIB_EXPORT_CLASS instead. You can run the script 'plugin_macro_update' provided with pluginlib in your package source folder to automatically and recursively update legacy macros. Base = base_class_type, Derived = derived_class_type") |
#define PLUGINLIB_DECLARE_CLASS | ( | pkg, | |
class_name, | |||
class_type, | |||
base_class_type | |||
) | CLASS_LOADER_REGISTER_CLASS_WITH_MESSAGE(class_type, base_class_type, "pluginlib WARNING: In file " __FILE__ " PLUGINLIB_DECLARE_CLASS is deprecated, please use PLUGINLIB_EXPORT_CLASS instead. You can run the script 'plugin_macro_update' provided with pluginlib in your package source folder to automatically and recursively update legacy macros. Base = base_class_type, Derived = derived_class_type") |
This version is the most in use and requires package name in addition to fields in PLUGINLIB_REGISTER_CLASS
- | pkg - The package that exports the plugin (IGNORED AS OF PLUGINLIB 1.9) |
- | class_name - An alias for the class (no special characters allowed) (IGNORED AS OF PLUGINLIB 1.9) |
- | class_type - The real class name with namespace qualifier (e.g. Animals::Lion) |
- | base_class_type - The real base class type from which class_type inherits |
Definition at line 58 of file class_list_macros.h.
#define PLUGINLIB_EXPORT_CLASS | ( | class_type, | |
base_class_type | |||
) | CLASS_LOADER_REGISTER_CLASS(class_type, base_class_type); |
This version was only made possible with pluginlib 1.9 series. It's the easiest to use and now the official way of exporting classes.
- | class_type - The real class name with namespace qualifier (e.g. Animals::Lion) |
- | base_class_type - The real base class type from which class_type inherits |
Definition at line 66 of file class_list_macros.h.
#define PLUGINLIB_REGISTER_CLASS | ( | class_name, | |
class_type, | |||
base_class_type | |||
) | CLASS_LOADER_REGISTER_CLASS_WITH_MESSAGE(class_type, base_class_type, "In file " __FILE__ " pluginlib WARNING: PLUGINLIB_REGISTER_CLASS is deprecated, please use PLUGINLIB_EXPORT_CLASS instead. You can run the script 'plugin_macro_update' provided with pluginlib in your package source folder to automatically and recursively update legacy macros. Base = base_class_type, Derived = derived_class_type") |
This version was deprecated in favor of PLUGINLIB_DECLARE_CLASS
- | class_name - An alias for the class (no special characters allowed) (IGNORED AS OF PLUGINLIB 1.9) |
- | class_type - The real class name with namespace qualifier (e.g. Animals::Lion) |
- | base_class_type - The real base class type from which class_type inherits |
Definition at line 48 of file class_list_macros.h.