ATLAS Offline Software
Loading...
Searching...
No Matches
SealSharedLib.h File Reference
#include "CxxUtils/checker_macros.h"
#include <string>
#include <list>
#include <exception>
Include dependency graph for SealSharedLib.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CallbackImpF11< T1, T2 >
class  SharedLibraryError
 Error in a shared library operation. More...
class  SharedLibrary
 Shared library services. More...
struct  SharedLibrary::LibraryInfo
 Information about a currently loaded shared library. More...

Macros

#define CXXUTILS_SEAL_SHAREDLIB_H

Functions

 operator bool (void) const
void operator() (T1)
template<class T1, class T2>
Callback1Rep< T1 > * CreateCallback (void(*function)(T1, T2), const T2 &fill_2)

Variables

Callback1Rep< T1 > * m_rep

Detailed Description

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.
*/

wlav SEAL_BASE_SHARED_LIBRARY_H #define CXXUTILS_SEAL_SHAREDLIB_H // wlav SEAL_BASE_SHARED_LIBRARY_H

include "SealBase/SharedLibraryError.h" wlav

include "SealBase/Callback.h" wlav

wlav

namespace seal { wlav namespace Athena { // wlav

wlav from SealBase/Callback.h template <class T1> class Callback1Rep { public: Callback1Rep (void) : m_refs (0) { } virtual ~Callback1Rep (void) { }

virtual void call (T1) = 0; virtual bool equal (const Callback1Rep *x) const = 0;

void ref (void) { ++m_refs; } void unref (void) { if (–m_refs == 0) delete this; }

private: int m_refs; };

template <class T1> class Callback1 { public: Callback1 (Callback1Rep<T1> *implementation = 0); Callback1 (const Callback1 &x); ~Callback1 (void); Callback1 & operator= (const Callback1 &x);

bool operator== (const Callback1 &x) const; /*

Definition in file SealSharedLib.h.

Macro Definition Documentation

◆ CXXUTILS_SEAL_SHAREDLIB_H

#define CXXUTILS_SEAL_SHAREDLIB_H

Function Documentation

◆ CreateCallback()

template<class T1, class T2>
Callback1Rep< T1 > * CreateCallback ( void(* function )(T1, T2),
const T2 & fill_2 )
inlineprivate

Definition at line 136 of file SealSharedLib.h.

138{ return new CallbackImpF11<T1,T2> (function, fill_2); }

◆ operator bool()

operator bool ( void ) const

◆ operator()()

void operator() ( T1 )

Variable Documentation

◆ m_rep

Callback1Rep<T1>* m_rep
private

Definition at line 63 of file SealSharedLib.h.