ATLAS Offline Software
Loading...
Searching...
No Matches
SealDebug.h File Reference

This are the SEAL debug aids, adapted to build in Atlas, after the drop of that project. More...

#include "CxxUtils/checker_macros.h"
#include "CxxUtils/SealCommon.h"
#include <cstddef>
#include <atomic>
Include dependency graph for SealDebug.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  BitTraits< T >
class  DebugAids
 Utilities for debugging support. More...

Macros

#define CXXUTILS_SEAL_DEBUG_H
#define STDERR_HANDLE   STDERR_FILENO
#define MYWRITE(fd, data, n)

Detailed Description

This are the SEAL debug aids, adapted to build in Atlas, after the drop of that project.

Author
Lassi Tuura (original author)
Wim Lavrijsen WLavr.nosp@m.ijse.nosp@m.n@lbl.nosp@m..gov (responsible in ATLAS)
Date
Oct, 2008

Search for `wlav' to find changes from the SEAL version. I also dropped all ASSERT macro's in favor of assert. Removed logstream references.

sss: Add stacktraceLine. fwinkl: Add enableCoreFiles, disableCoreFiles. */

wlav SEAL_BASE_DEBUG_H #define CXXUTILS_SEAL_DEBUG_H // wlav SEAL_BASE_DEBUG_H

sss – needed for IOFD

wlav copied from SealBase/sysapi/DebugAids.h Windows doesn't have this, so fake a suitable substitute

define STDERR_HANDLE

Define a suitable wrapper to write to system file descriptors. This is needed because on Windows we are using HANDLEs, not the compiler's crippled posixy interface.

define MYWRITE(fd,data,n)

namespace Athena { // wlav

wlav copied from SealBase/BitTraits.h /** Describe the bit features of an integral type T.

Definition in file SealDebug.h.

Macro Definition Documentation

◆ CXXUTILS_SEAL_DEBUG_H

#define CXXUTILS_SEAL_DEBUG_H

◆ MYWRITE

#define MYWRITE ( fd,
data,
n )
Value:
write(fd,data,n)
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11

◆ STDERR_HANDLE

#define STDERR_HANDLE   STDERR_FILENO