OpendTect  7.0
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, const char *subdir=nullptr)
 
 ~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()

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

◆ ~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-2024