Functions | Variables
plugin_tool.cpp File Reference
#include <dlfcn.h>
#include <pluginlib/class_loader.hpp>
#include <ros/console.h>
#include <iostream>
#include <vector>
#include <string>
#include <fstream>
#include <sstream>
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 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.

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

Variable Documentation

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.



pluginlib
Author(s): Eitan Marder-Eppstein, Tully Foote, Dirk Thomas, Mirza Shah
autogenerated on Sat Jun 8 2019 18:02:10