| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Macros | Functions
PluginService.cpp File Reference
`#include <Gaudi/PluginService.h>`
`#include <dlfcn.h>`
`#include <dirent.h>`
`#include <cstdlib>`
`#include <iostream>`
`#include <fstream>`
`#include <memory>`
`#include <cxxabi.h>`
`#include <sys/stat.h>`
`#include <algorithm>`
Include dependency graph for PluginService.cpp:

Go to the source code of this file.

## Namespaces
namespace | Gaudi
| : AIDA interfaces visibility
namespace | Gaudi::PluginService
namespace | Gaudi::PluginService::Details

## Macros
#define | REG_SCOPE_LOCK
#define | SINGLETON_LOCK

## Functions
static std::string & | ltrim (std::string &s)
static std::string & | rtrim (std::string &s)
static std::string & | trim (std::string &s)
GAUDIPS_API void * | Gaudi::PluginService::Details::getCreator (const std::string &id, const std::string &type)
| Function used to load a specific factory function.
GAUDIPS_API std::string | Gaudi::PluginService::Details::demangle (const std::type_info &id)
| Return a canonical name for type_info object (implementation borrowed from GaudiKernel/System).
static std::auto_ptr< Logger > | Gaudi::PluginService::Details::s_logger (new Logger)
GAUDIPS_API Logger & | Gaudi::PluginService::Details::logger ()
| Return the current logger instance.
GAUDIPS_API void | Gaudi::PluginService::Details::setLogger (Logger *logger)
| Set the logger instance to use.
GAUDIPS_API void | Gaudi::PluginService::SetDebug (int debugLevel)
| Backward compatibility with Reflex.
GAUDIPS_API int | Gaudi::PluginService::Debug ()
| Backward compatibility with Reflex.

## Macro Definition Documentation

#define REG_SCOPE_LOCK

Author
  Marco Clemencic marco.nosp@m..cle.nosp@m.menci.nosp@m.c@ce.nosp@m.rn.ch

Definition at line 37 of file PluginService.cpp.

#define SINGLETON_LOCK

Definition at line 38 of file PluginService.cpp.

## Function Documentation

static std::string& ltrim | ( | std::string & | s | ) |
| inline static

Definition at line 45 of file PluginService.cpp.

{
s.erase(s.begin(),
std::find_if(s.begin(), s.end(),
std::not1(std::ptr_fun<int, int>(std::isspace))));
return s;
}

static std::string& rtrim | ( | std::string & | s | ) |
| inline static

Definition at line 53 of file PluginService.cpp.

{
s.erase(std::find_if(s.rbegin(), s.rend(),
std::not1(std::ptr_fun<int, int>(std::isspace)))
.base(),
s.end());
return s;
}

static std::string& trim | ( | std::string & | s | ) |
| inline static

Definition at line 61 of file PluginService.cpp.

{
return ltrim(rtrim(s));
}