| # Gaudi Framework, version v21r6 |

Home |  | Generated: 11 Nov 2009

# SvcFactory< T > Class Template Reference

`#include <SvcFactory.h>`

List of all members.

## Detailed Description

### template<typename T>
class SvcFactory< T >

Definition at line 14 of file SvcFactory.h.

## Static Public Member Functions
static IService * | create (const std::string &name, ISvcLocator *svcloc)

## Member Function Documentation

template<typename T>

static IService* SvcFactory< T >::create | ( | const std::string & | name,
|  | ISvcLocator * | svcloc |
| ) |  |  | `[inline, static]`

Definition at line 16 of file SvcFactory.h.

    00016                                                                       {
    00017     return new T(name, svcloc );
    00018   }

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r6/GaudiKernel/GaudiKernel/SvcFactory.h