ATLAS Offline Software
Loading...
Searching...
No Matches
libname.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#include <string>
6#include <iostream>
7
8/* MN: putting common functionality of the test driver in one place
9 */
10
12#include "GaudiKernel/System.h"
13
14
15namespace pool {}
16using namespace pool;
17void TestDriver::loadLibraries( const std::vector<std::string>& libraries )
18{
19 for ( std::vector<std::string>::const_iterator iLibrary = libraries.begin();
20 iLibrary != libraries.end(); ++iLibrary ) {
21 const std::string& library = *iLibrary;
22 std::cout << "Loading library " << library << std::endl;
23
24 System::ImageHandle libhandle;
25 if( System::loadDynamicLib(library, &libhandle) != 1 ) {
26 std::cout << "Error! library loading failed" << std::endl;
27 }
28 }
29}
static void loadLibraries(const std::vector< std::string > &libraries)
pool namespace
Definition libname.h:15