#include <dlfcn.h>
#include <pluginlib/class_loader.hpp>
#include <ros/console.h>
#include <iostream>
#include <vector>
#include <string>
#include <fstream>
#include <sstream>
Go to the source code of this file.
Variables | |
void * | g_class_loader_library_handle = NULL |
vector< string > | g_cli_arguments |
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 103 of file plugin_tool.cpp.
string commandVerb | ( | ) |
Definition at line 61 of file plugin_tool.cpp.
string determineIncludePathsForBaseClassHeaderDependencies | ( | ) |
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 185 of file plugin_tool.cpp.
vector< string > getCLIArguments | ( | ) |
Definition at line 179 of file plugin_tool.cpp.
T getPluginFunction | ( | const std::string & | function_name | ) |
Definition at line 172 of file plugin_tool.cpp.
std::string getPluginlibSharedFolder | ( | ) |
Definition at line 194 of file plugin_tool.cpp.
string getTypedClassLoaderTemplate | ( | ) |
Definition at line 203 of file plugin_tool.cpp.
string getTypedClassLoaderTemplateWithBaseSet | ( | ) |
Definition at line 225 of file plugin_tool.cpp.
void handleFindPluginRequest | ( | ) |
Definition at line 242 of file plugin_tool.cpp.
void handleListPluginsRequest | ( | ) |
Definition at line 261 of file plugin_tool.cpp.
void handleLoadPluginRequest | ( | ) |
Definition at line 280 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 301 of file plugin_tool.cpp.
string pluginName | ( | ) |
Definition at line 62 of file plugin_tool.cpp.
void processUserCommand | ( | ) |
Definition at line 318 of file plugin_tool.cpp.
void setCLIArguments | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 335 of file plugin_tool.cpp.
string stripNewlineCharacters | ( | const std::string & | s | ) |
Definition at line 344 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 356 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.