| # Gaudi Framework, version v21r10p1 |

Home |  | Generated: 29 Jul 2010

# SvcFactory< T > Class Template Reference

`#include <SvcFactory.h>`

List of all members.

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

## Detailed Description

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

Definition at line 14 of file SvcFactory.h.

## 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_v21r10p1/GaudiKernel/GaudiKernel/SvcFactory.h