ATLAS Offline Software
Loading...
Searching...
No Matches
VP1ToolAccessHelper.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5
7// //
8// Implementation of class VP1ToolAccessHelper //
9// //
10// Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
11// Initial version: February 2008 //
12// //
14
16#include "VP1Base/IVP1System.h"
17
18//____________________________________________________________________
20 : VP1HelperClassBase(0,"VP1ToolAccessHelper"),m_toolsvc(ts)
21{
22 if (!m_toolsvc)
23 message("ERROR: Received null toolSvc pointer!");
24}
25
26//____________________________________________________________________
28 : VP1HelperClassBase(sys,"VP1ToolAccessHelper"),m_toolsvc((sys?sys->toolSvc():0))
29{
30 if (!sys)
31 message("ERROR: Received null system (and thus also null toolSvc) pointer!");
32 else if (!m_toolsvc)
33 message("ERROR: Could not get toolSvc pointer from system!");
34}
VP1HelperClassBase(IVP1System *sys=0, QString helpername="")
void message(const QString &) const
int ts
Definition globals.cxx:24