VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vlutil
vlDynamic.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*******************************************************************************/
8
#pragma once
9
10
#include "
vlMachineTypes.h
"
11
#include "
vlString.h
"
12
13
14
#ifdef DtUSE_UTILITIES_NAMESPACE
15
namespace
DtUSE_UTILITIES_NAMESPACE
16
{
17
#endif
18
19
23
class
DT_DLL_VLUTIL
DtDynamicLibrary
24
{
25
public
:
26
28
virtual
~
DtDynamicLibrary
();
29
30
protected
:
32
DtDynamicLibrary
(
const
DtString
&libName);
33
34
private
:
36
DtDynamicLibrary
(
const
DtDynamicLibrary
&other);
37
39
DtDynamicLibrary
& operator=(
const
DtDynamicLibrary
&other);
40
41
public
:
46
bool
isValid()
const
;
47
51
DtString
libraryName()
const
;
52
55
const
char
*error()
const
;
56
63
virtual
void
*procAddress(
const
DtString
&symName);
64
65
public
:
66
68
static
DtString
standardExtension();
69
74
static
DtDynamicLibrary
* create(
const
DtString
&libName,
75
bool
addPlatExt =
true
,
bool
useLazyEval =
false
,
bool
useGlobal =
false
);
76
protected
:
77
82
virtual
void
open(
bool
addPlatExt,
bool
useLazyEval,
bool
useGlobal);
83
84
protected
:
85
86
void
*
myHandle
;
87
DtString
myLibraryName
;
88
char
*
myLastError
;
89
90
};
91
92
#ifdef DtUSE_UTILITIES_NAMESPACE
93
}
94
#endif
95
Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (
www.mak.com
)