| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Static Public Member Functions | List of all members
Gaudi::PluginService::Factory0< R > Class Template Reference

Class wrapping the signature for a factory without arguments. More...

`#include <PluginService.h>`

## Public Types
typedef R | ReturnType
typedef R(* | FuncType )()

## Static Public Member Functions
static ReturnType | create (const std::string &id)
template<typename T >
static ReturnType | create (const T &id)

## Detailed Description

### template<typename R>
class Gaudi::PluginService::Factory0< R >

Class wrapping the signature for a factory without arguments.

Definition at line 44 of file PluginService.h.

## Member Typedef Documentation

template<typename R >

typedef R(* Gaudi::PluginService::Factory0< R >::FuncType)()

Definition at line 47 of file PluginService.h.

template<typename R >

typedef R Gaudi::PluginService::Factory0< R >::ReturnType

Definition at line 46 of file PluginService.h.

## Member Function Documentation

template<typename R >

static ReturnType Gaudi::PluginService::Factory0< R >::create | ( | const std::string & | id | ) |
| inline static

Definition at line 49 of file PluginService.h.

{
const FuncType c = Details::getCreator<FuncType>(id);
return c ? (*c)() : 0;
}
template<typename R >
template<typename T >

static ReturnType Gaudi::PluginService::Factory0< R >::create | ( | const T & | id | ) |
| inline static

Definition at line 55 of file PluginService.h.

{
std::ostringstream o; o << id;
return create(o.str());
}

The documentation for this class was generated from the following file:

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiPluginService/Gaudi/PluginService.h