OpendTect  6.6
Public Member Functions | Private Attributes | List of all members
RuntimeLibLoader Class Reference

Gives access to any runtime library (DLL/so), from a full filepath. The library does thus no need to be inside the current path. This library stays loaded until the object is destroyed. More...

Public Member Functions

 RuntimeLibLoader (const char *libfilenm)
 
 RuntimeLibLoader (const char *libfilenm, const char *subdir)
 
 ~RuntimeLibLoader ()
 
bool isOK () const
 

Private Attributes

SharedLibAccesssha_ = nullptr
 

Detailed Description

Gives access to any runtime library (DLL/so), from a full filepath. The library does thus no need to be inside the current path. This library stays loaded until the object is destroyed.

<>

Constructor & Destructor Documentation

◆ RuntimeLibLoader() [1/2]

RuntimeLibLoader::RuntimeLibLoader ( const char *  libfilenm)

◆ RuntimeLibLoader() [2/2]

RuntimeLibLoader::RuntimeLibLoader ( const char *  libfilenm,
const char *  subdir 
)

◆ ~RuntimeLibLoader()

RuntimeLibLoader::~RuntimeLibLoader ( )

Member Function Documentation

◆ isOK()

bool RuntimeLibLoader::isOK ( ) const

Member Data Documentation

◆ sha_

SharedLibAccess* RuntimeLibLoader::sha_ = nullptr
private

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022