CMS 3D CMS Logo

Macros
LStoreFile.cc File Reference
#include "Utilities/LStoreAdaptor/interface/LStoreFile.h"
#include "FWCore/Utilities/interface/Exception.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <cassert>
#include <vector>
#include <unistd.h>
#include <fcntl.h>
#include <pthread.h>
#include <dlfcn.h>
#include <iostream>
#include <cstring>

Go to the source code of this file.

Macros

#define REDD_LOAD_SYMBOL(NAME, TYPE)
 

Macro Definition Documentation

#define REDD_LOAD_SYMBOL (   NAME,
  TYPE 
)
Value:
dlerror();\
NAME = reinterpret_cast<TYPE>(reinterpret_cast<size_t>( \
dlsym(m_library_handle, #NAME))); \
if ( (retval = dlerror()) ) {\
throw cms::Exception("LStoreFile::loadLibrary()") <<\
"Failed to load dlsym LStore library: " << retval;\
}\
if ( NAME == NULL) {\
throw cms::Exception("LStoreFile::loadLibrary()") <<\
"Got a null pointer back from dlsym()\n";\
}
#define NULL
Definition: scimark2.h:8

Definition at line 87 of file LStoreFile.cc.

Referenced by LStoreFile::loadLibrary().