OpendTect
6.3
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
master_od_source
include
Basic
sharedlibs.h
Go to the documentation of this file.
1
#pragma once
2
/*+
3
________________________________________________________________________
4
5
(C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
6
Author: A.H.Bril
7
Date: Jun 2006
8
________________________________________________________________________
9
10
-*/
11
12
#include "basicmod.h"
13
#include "
bufstring.h
"
14
#include "
gendefs.h
"
15
#include "
uistrings.h
"
16
17
#ifdef __win__
18
# include "windows.h"
19
typedef
HMODULE
Handletype
;
20
#else
21
typedef
void
*
Handletype
;
22
#endif
23
24
30
mExpClass
(Basic)
SharedLibAccess
31
{
32
public
:
33
34
SharedLibAccess(
const
char
* file_name);
36
bool
isOK
()
const
{
return
handle_
; }
37
const
uiString
&
errMsg
()
const
{
return
errmsg_
; }
38
39
void
close();
40
41
void
* getFunction(
const
char
* function_name)
const
;
43
44
Handletype
handle
() {
return
handle_
; }
45
46
static
void
getLibName(
const
char
* modnm,
char
*);
49
50
protected
:
51
52
Handletype
handle_
;
53
uiString
errmsg_
;
54
55
};
mExpClass
#define mExpClass(module)
Definition:
commondefs.h:157
uistrings.h
handle_
C & handle_
Definition:
i_uiobjqtbody.h:109
SharedLibAccess::isOK
bool isOK() const
Definition:
sharedlibs.h:36
bufstring.h
uiString
Definition:
uistring.h:88
gendefs.h
SharedLibAccess::errmsg_
uiString errmsg_
Definition:
sharedlibs.h:53
SharedLibAccess
Gives access to shared libs on runtime. Plugins should be loaded via the Plugin Manager (see plugins...
Definition:
sharedlibs.h:30
SharedLibAccess::errMsg
const uiString & errMsg() const
Definition:
sharedlibs.h:37
Handletype
void * Handletype
Definition:
sharedlibs.h:21
SharedLibAccess::handle
Handletype handle()
Definition:
sharedlibs.h:44
MPE::errmsg_
BufferString errmsg_
Definition:
horizontracker.h:117
SharedLibAccess::handle_
Handletype handle_
Definition:
sharedlibs.h:52
Generated at for the
OpendTect
seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017