Namespaces | Defines | Functions | Variables
PluginLoader.cpp File Reference
#include "PluginLoader.hpp"
#include "../TaskContext.hpp"
#include "../Logger.hpp"
#include <boost/filesystem.hpp>
#include <boost/version.hpp>
#include "../os/StartStopManager.hpp"
#include "../os/MutexLock.hpp"
#include "../internal/GlobalService.hpp"
#include <cstdlib>
#include <dlfcn.h>
#include <vector>
#include <set>
Include dependency graph for PluginLoader.cpp:

Go to the source code of this file.

Namespaces

namespace  RTT
 

Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.


namespace  RTT::plugin

Defines

#define RTT_UNUSED

Functions

static const std::string default_delimiter (":")
static const std::string delimiters (":;")
static const std::string FULL_PLUGINS_SUFFIX (string("-")+string(OROCOS_TARGET_NAME)+SO_POSTFIX+SO_EXT)
static RTT_UNUSED bool hasEnding (string const &fullString, string const &ending)
RTT_API bool isExtensionVersion (const std::string &ext)
RTT_API bool isLoadableLibrary (const path &filename)
static const std::string SO_EXT (".so")
static const std::string SO_POSTFIX ("")

Variables

char const * RTT::plugin::default_plugin_path
static boost::shared_ptr
< PluginLoader > 
instance2

Define Documentation

#define RTT_UNUSED

Definition at line 102 of file PluginLoader.cpp.


Function Documentation

static const std::string default_delimiter ( ":"  ) [static]
static const std::string delimiters ( ":;"  ) [static]
static const std::string FULL_PLUGINS_SUFFIX ( string("-")+string(OROCOS_TARGET_NAME)+SO_POSTFIX SO_EXT) [static]
static RTT_UNUSED bool hasEnding ( string const &  fullString,
string const &  ending 
) [static]

Definition at line 261 of file PluginLoader.cpp.

RTT_API bool isExtensionVersion ( const std::string &  ext)

Determine whether a file extension is actually part of a library version

Returns:
true if ext satisfies "^\.[:digit:]+$"

So for example returns true for ".1", ".12", ".123" returns false for ".a", "1", "123", ".123 ", "a", "", ".1.a", ".1a2"

Definition at line 114 of file PluginLoader.cpp.

RTT_API bool isLoadableLibrary ( const path &  filename)

Definition at line 152 of file PluginLoader.cpp.

static const std::string SO_EXT ( ".so"  ) [static]
static const std::string SO_POSTFIX ( ""  ) [static]

Variable Documentation

boost::shared_ptr<PluginLoader> instance2 [static]

Definition at line 319 of file PluginLoader.cpp.



rtt
Author(s): RTT Developers
autogenerated on Thu Jan 2 2014 11:35:42