Gaudi Framework, version v24r2
Home
Generated: Wed Dec 4 2013
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
GaudiKernel
src
Lib
ComponentManager.cpp
Go to the documentation of this file.
1
/*
2
* ComponentManager.cpp
3
*
4
* Created on: Feb 20, 2009
5
* Author: Marco Clemencic
6
*/
7
8
#include "
GaudiKernel/ComponentManager.h
"
9
10
//------------------------------------------------------------------------------
11
// Constructor
12
ComponentManager::ComponentManager
(
IInterface
*application,
const
InterfaceID
&baseIID):
13
m_application(application), m_stateful(application), m_basicInterfaceId(baseIID)
14
{
15
}
16
17
//------------------------------------------------------------------------------
18
// Basic interface id of the managed components.
19
const
InterfaceID
&
ComponentManager::componentBaseInterface
()
const
{
20
return
m_basicInterfaceId
;
21
}
22
23
//------------------------------------------------------------------------------
24
// Virtual destructor
25
ComponentManager::~ComponentManager
() {
26
}
27
28
//------------------------------------------------------------------------------
29
// queryInterface implementation that falls back on the owner.
30
StatusCode
ComponentManager::queryInterface
(
const
InterfaceID
&
iid
,
void
** pinterface)
31
{
32
// try local interfaces
33
StatusCode
sc
= base_class::queryInterface(iid,pinterface);
34
if
(sc.
isSuccess
())
return
sc;
35
// fall back on the owner
36
return
m_application
->queryInterface(iid, pinterface);
37
}
Generated at Wed Dec 4 2013 14:33:09 for Gaudi Framework, version v24r2 by
Doxygen
version 1.8.2 written by
Dimitri van Heesch
, © 1997-2004