Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ToolSvc Class Reference

#include <ToolSvc.h>

Inheritance diagram for ToolSvc:

Service IToolSvc List of all members.

Public Types

typedef std::list<IAlgTool*> ListTools

Public Methods

virtual StatusCode initialize ()
virtual StatusCode finalize ()
virtual StatusCode queryInterface ( const IID& riid, void** ppvInterface )
virtual StatusCode retrieve (const std::string& type, IAlgTool*& tool, const IInterface* parent, bool createIf)
virtual StatusCode retrieve (const std::string& tooltype, const std::string& toolname, IAlgTool*& tool, const IInterface* parent, bool createIf)
StatusCode create (const std::string& type, const IInterface* parent, IAlgTool*& tool)
StatusCode create (const std::string& type, const std::string& name, const IInterface* parent, IAlgTool*& tool)
bool existsTool ( const std::string& toolname) const
std::string nameTool (const std::string& nameByUser, const IInterface* parent)

Protected Methods

 ToolSvc ( const std::string& name, ISvcLocator* svc )
virtual ~ToolSvc ()

Private Attributes

IObjManagerm_objManager
ListToolsm_instancesTools

Friends

class  SvcFactory< ToolSvc >

Member Typedef Documentation

typedef std::list<IAlgTool*> ToolSvc::ListTools
 

Definition at line 36 of file ToolSvc.h.

Referenced by ToolSvc().


Constructor & Destructor Documentation

ToolSvc::ToolSvc ( const std::string & name,
ISvcLocator * svc ) [protected]
 

Definition at line 43 of file ToolSvc.cpp.

ToolSvc::~ToolSvc ( ) [protected, virtual]
 

Definition at line 51 of file ToolSvc.cpp.


Member Function Documentation

StatusCode ToolSvc::create ( const std::string & tooltype,
const std::string & toolname,
const IInterface * parent,
IAlgTool *& tool )
 

Definition at line 180 of file ToolSvc.cpp.

StatusCode ToolSvc::create ( const std::string & tooltype,
const IInterface * parent,
IAlgTool *& tool )
 

Definition at line 173 of file ToolSvc.cpp.

Referenced by retrieve().

bool ToolSvc::existsTool ( const std::string & fullname ) const
 

Definition at line 299 of file ToolSvc.cpp.

Referenced by create().

StatusCode ToolSvc::finalize ( ) [virtual]
 

Definition at line 85 of file ToolSvc.cpp.

StatusCode ToolSvc::initialize ( ) [virtual]
 

Definition at line 58 of file ToolSvc.cpp.

std::string ToolSvc::nameTool ( const std::string & toolname,
const IInterface * parent )
 

Definition at line 260 of file ToolSvc.cpp.

Referenced by create(), and retrieve().

StatusCode ToolSvc::queryInterface ( const IID & riid,
void ** ppvInterface ) [virtual]
 

Definition at line 108 of file ToolSvc.cpp.

StatusCode ToolSvc::retrieve ( const std::string & tooltype,
const std::string & toolname,
IAlgTool *& tool,
const IInterface * parent = 0,
bool createIf = true ) [virtual]
 

Definition at line 133 of file ToolSvc.cpp.

StatusCode ToolSvc::retrieve ( const std::string & tooltype,
IAlgTool *& tool,
const IInterface * parent = 0,
bool createIf = true ) [virtual]
 

Definition at line 124 of file ToolSvc.cpp.


Friends And Related Function Documentation

class SvcFactory [friend]
 

Definition at line 91 of file ToolSvc.h.


Member Data Documentation

ListTools * ToolSvc::m_instancesTools [private]
 

Definition at line 97 of file ToolSvc.h.

IObjManager * ToolSvc::m_objManager [private]
 

Definition at line 94 of file ToolSvc.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:22:35 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000