Namespaces | Defines | Functions | Variables
ComponentLoader.cpp File Reference
#include "ComponentLoader.hpp"
#include <rtt/TaskContext.hpp>
#include <rtt/Logger.hpp>
#include <boost/filesystem.hpp>
#include <boost/version.hpp>
#include <rtt/os/StartStopManager.hpp>
#include <rtt/plugin/PluginLoader.hpp>
#include <rtt/types/TypekitRepository.hpp>
#include <dlfcn.h>
#include <vector>
#include <set>
Include dependency graph for ComponentLoader.cpp:

Go to the source code of this file.

Namespaces

namespace  RTT
 

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


Defines

#define RTT_UNUSED

Functions

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

Variables

char const * RTT::default_comp_path_build
static boost::shared_ptr
< ComponentLoader
instance2

Define Documentation

#define RTT_UNUSED

Definition at line 68 of file ComponentLoader.cpp.


Function Documentation

static const char default_delimiter ( ':'  ) [static]
static const std::string delimiters ( ":;"  ) [static]
static const std::string FULL_COMPONENT_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 228 of file ComponentLoader.cpp.

static RTT_UNUSED bool isExtensionVersion ( const std::string &  ext) [static]

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 80 of file ComponentLoader.cpp.

static bool isLoadableLibrary ( const path &  filename) [static]

Definition at line 118 of file ComponentLoader.cpp.

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

Variable Documentation

boost::shared_ptr<ComponentLoader> instance2 [static]

Definition at line 278 of file ComponentLoader.cpp.



rtt
Author(s): RTT Developers
autogenerated on Fri Sep 9 2016 04:02:17