#include <pluginlib/class_loader.h>
#include <ros/console.h>
#include <iostream>
#include <vector>
#include <string>
#include <fstream>
#include <sstream>
#include <dlfcn.h>
Go to the source code of this file.
string baseClass | ( | ) |
Definition at line 58 of file plugin_tool.cpp.
string baseClassHeader | ( | ) |
Definition at line 59 of file plugin_tool.cpp.
std::string callCommandLine | ( | const char * | cmd | ) |
Definition at line 104 of file plugin_tool.cpp.
string commandVerb | ( | ) |
Definition at line 61 of file plugin_tool.cpp.
Definition at line 121 of file plugin_tool.cpp.
void generateAndLoadTypedPluginInterface | ( | ) |
Definition at line 128 of file plugin_tool.cpp.
string generatedCppFile | ( | ) |
Definition at line 71 of file plugin_tool.cpp.
string generatedObjFile | ( | ) |
Definition at line 70 of file plugin_tool.cpp.
string generatedSharedLibrary | ( | ) |
Definition at line 69 of file plugin_tool.cpp.
void generateFile | ( | string | filename, |
string | contents | ||
) |
Definition at line 189 of file plugin_tool.cpp.
vector< string > getCLIArguments | ( | ) |
Definition at line 183 of file plugin_tool.cpp.
T getPluginFunction | ( | const std::string & | function_name | ) |
Definition at line 176 of file plugin_tool.cpp.
std::string getPluginlibSharedFolder | ( | ) |
Definition at line 198 of file plugin_tool.cpp.
string getTypedClassLoaderTemplate | ( | ) |
Definition at line 206 of file plugin_tool.cpp.
string getTypedClassLoaderTemplateWithBaseSet | ( | ) |
Definition at line 230 of file plugin_tool.cpp.
void handleFindPluginRequest | ( | ) |
Definition at line 247 of file plugin_tool.cpp.
void handleListPluginsRequest | ( | ) |
Definition at line 265 of file plugin_tool.cpp.
void handleLoadPluginRequest | ( | ) |
Definition at line 287 of file plugin_tool.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 82 of file plugin_tool.cpp.
string packageName | ( | ) |
Definition at line 60 of file plugin_tool.cpp.
vector< string > parseToStringVector | ( | std::string | newline_delimited_str | ) |
Definition at line 312 of file plugin_tool.cpp.
string pluginName | ( | ) |
Definition at line 62 of file plugin_tool.cpp.
void processUserCommand | ( | ) |
Definition at line 331 of file plugin_tool.cpp.
void setCLIArguments | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 346 of file plugin_tool.cpp.
string stripNewlineCharacters | ( | const std::string & | s | ) |
Definition at line 354 of file plugin_tool.cpp.
string templateCppFile | ( | ) |
Definition at line 78 of file plugin_tool.cpp.
string templateCppFileAbsolutePath | ( | ) |
Definition at line 79 of file plugin_tool.cpp.
string templateCppFileWithoutExtension | ( | ) |
Definition at line 77 of file plugin_tool.cpp.
bool verifyCLIArguments | ( | ) |
Definition at line 366 of file plugin_tool.cpp.
void* g_class_loader_library_handle = NULL |
Definition at line 45 of file plugin_tool.cpp.
vector<string> g_cli_arguments |
Definition at line 44 of file plugin_tool.cpp.