Functions | Variables
plugin_tool.cpp File Reference
#include <pluginlib/class_loader.h>
#include <ros/console.h>
#include <iostream>
#include <vector>
#include <string>
#include <fstream>
#include <sstream>
#include <dlfcn.h>
Include dependency graph for plugin_tool.cpp:

Go to the source code of this file.

Functions

string baseClass ()
string baseClassHeader ()
string callCommandLine (const char *cmd)
string commandVerb ()
string determineIncludePathsForBaseClassHeaderDependencies ()
void generateAndLoadTypedPluginInterface ()
string generatedCppFile ()
string generatedObjFile ()
string generatedSharedLibrary ()
void generateFile (string filename, string contents)
vector< string > getCLIArguments ()
template<typename T >
getPluginFunction (const std::string &function_name)
string getPluginlibSharedFolder ()
string getTypedClassLoaderTemplate ()
string getTypedClassLoaderTemplateWithBaseSet ()
void handleFindPluginRequest ()
void handleListPluginsRequest ()
void handleLoadPluginRequest ()
int main (int argc, char *argv[])
string packageName ()
vector< string > parseToStringVector (std::string newline_delimited_str)
string pluginName ()
void processUserCommand ()
void setCLIArguments (int argc, char *argv[])
string stripNewlineCharacters (const std::string &s)
string templateCppFile ()
string templateCppFileAbsolutePath ()
string templateCppFileWithoutExtension ()
bool verifyCLIArguments ()

Variables

void * g_class_loader_library_handle = NULL
vector< string > g_cli_arguments

Function Documentation

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.

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.

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.

template<typename T >
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.

Definition at line 206 of file plugin_tool.cpp.

Definition at line 230 of file plugin_tool.cpp.

Definition at line 247 of file plugin_tool.cpp.

Definition at line 265 of file plugin_tool.cpp.

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.

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.

Definition at line 79 of file plugin_tool.cpp.

Definition at line 77 of file plugin_tool.cpp.

Definition at line 366 of file plugin_tool.cpp.


Variable Documentation

Definition at line 45 of file plugin_tool.cpp.

vector<string> g_cli_arguments

Definition at line 44 of file plugin_tool.cpp.



pluginlib
Author(s): Eitan Marder-Eppstein, Tully Foote, Dirk Thomas, Mirza Shah
autogenerated on Wed Aug 26 2015 15:28:48