1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
|
/*
* File: sidl_Loader_IOR.h
* Symbol: sidl.Loader-v0.9.1
* Symbol Type: class
* Babel Version: 0.10.2
* Release: $Name: $
* Revision: @(#) $Id: $
* Description: Intermediate Object Representation for sidl.Loader
*
* Copyright (c) 2000-2002, The Regents of the University of California.
* Produced at the Lawrence Livermore National Laboratory.
* Written by the Components Team <components@llnl.gov>
* All rights reserved.
*
* This file is part of Babel. For more information, see
* http://www.llnl.gov/CASC/components/. Please read the COPYRIGHT file
* for Our Notice and the LICENSE file for the GNU Lesser General Public
* License.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License (as published by
* the Free Software Foundation) version 2.1 dated February 1999.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
* conditions of the GNU Lesser General Public License for more details.
*
* You should have recieved a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* WARNING: Automatically generated; changes will be lost
*
* babel-version = 0.10.2
*/
#ifndef included_sidl_Loader_IOR_h
#define included_sidl_Loader_IOR_h
#ifndef included_sidl_header_h
#include "sidl_header.h"
#endif
#ifndef included_sidl_io_Serializer_h
#include "sidl_io_Serializer.h"
#endif
#ifndef included_sidl_io_Deserializer_h
#include "sidl_io_Deserializer.h"
#endif
#ifndef included_sidl_BaseClass_IOR_h
#include "sidl_BaseClass_IOR.h"
#endif
#ifndef included_sidl_Resolve_IOR_h
#include "sidl_Resolve_IOR.h"
#endif
#ifndef included_sidl_Scope_IOR_h
#include "sidl_Scope_IOR.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
/*
* Symbol "sidl.Loader" (version 0.9.1)
*
* Class <code>Loader</code> manages dyanamic loading and symbol name
* resolution for the sidl runtime system. The <code>Loader</code> class
* manages a library search path and keeps a record of all libraries
* loaded through this interface, including the initial "global" symbols
* in the main program.
*
* Unless explicitly set, the <code>Loader</code> uses the default
* <code>sidl.Finder</code> implemented in <code>sidl.DFinder</code>.
* This class searches the filesystem for <code>.scl</code> files when
* trying to find a class. The initial path is taken from the
* environment variable SIDL_DLL_PATH, which is a semi-colon
* separated sequence of URIs as described in class <code>DLL</code>.
*/
struct sidl_Loader__array;
struct sidl_Loader__object;
struct sidl_Loader__sepv;
extern struct sidl_Loader__object*
sidl_Loader__new(void);
extern struct sidl_Loader__sepv*
sidl_Loader__statics(void);
extern void sidl_Loader__init(
struct sidl_Loader__object* self);
extern void sidl_Loader__fini(
struct sidl_Loader__object* self);
extern void sidl_Loader__IOR_version(int32_t *major, int32_t *minor);
/*
* Forward references for external classes and interfaces.
*/
struct sidl_BaseInterface__array;
struct sidl_BaseInterface__object;
struct sidl_ClassInfo__array;
struct sidl_ClassInfo__object;
struct sidl_DLL__array;
struct sidl_DLL__object;
struct sidl_Finder__array;
struct sidl_Finder__object;
/*
* Declare the static method entry point vector.
*/
struct sidl_Loader__sepv {
/* Implicit builtin methods */
/* Methods introduced in sidl.BaseInterface-v0.9.1 */
/* Methods introduced in sidl.BaseClass-v0.9.1 */
/* Methods introduced in sidl.Loader-v0.9.1 */
struct sidl_DLL__object* (*f_loadLibrary)(
/* in */ const char* uri,
/* in */ sidl_bool loadGlobally,
/* in */ sidl_bool loadLazy);
void (*f_addDLL)(
/* in */ struct sidl_DLL__object* dll);
void (*f_unloadLibraries)(
void);
struct sidl_DLL__object* (*f_findLibrary)(
/* in */ const char* sidl_name,
/* in */ const char* target,
/* in */ enum sidl_Scope__enum lScope,
/* in */ enum sidl_Resolve__enum lResolve);
void (*f_setSearchPath)(
/* in */ const char* path_name);
char* (*f_getSearchPath)(
void);
void (*f_addSearchPath)(
/* in */ const char* path_fragment);
void (*f_setFinder)(
/* in */ struct sidl_Finder__object* f);
struct sidl_Finder__object* (*f_getFinder)(
void);
};
/*
* Declare the method entry point vector.
*/
struct sidl_Loader__epv {
/* Implicit builtin methods */
void* (*f__cast)(
/* in */ struct sidl_Loader__object* self,
/* in */ const char* name);
void (*f__delete)(
/* in */ struct sidl_Loader__object* self);
void (*f__exec)(
/* in */ struct sidl_Loader__object* self,
/* in */ const char* methodName,
/* in */ struct sidl_io_Deserializer__object* inArgs,
/* in */ struct sidl_io_Serializer__object* outArgs);
void (*f__ctor)(
/* in */ struct sidl_Loader__object* self);
void (*f__dtor)(
/* in */ struct sidl_Loader__object* self);
/* Methods introduced in sidl.BaseInterface-v0.9.1 */
void (*f_addRef)(
/* in */ struct sidl_Loader__object* self);
void (*f_deleteRef)(
/* in */ struct sidl_Loader__object* self);
sidl_bool (*f_isSame)(
/* in */ struct sidl_Loader__object* self,
/* in */ struct sidl_BaseInterface__object* iobj);
struct sidl_BaseInterface__object* (*f_queryInt)(
/* in */ struct sidl_Loader__object* self,
/* in */ const char* name);
sidl_bool (*f_isType)(
/* in */ struct sidl_Loader__object* self,
/* in */ const char* name);
struct sidl_ClassInfo__object* (*f_getClassInfo)(
/* in */ struct sidl_Loader__object* self);
/* Methods introduced in sidl.BaseClass-v0.9.1 */
/* Methods introduced in sidl.Loader-v0.9.1 */
};
/*
* Define the class object structure.
*/
struct sidl_Loader__object {
struct sidl_BaseClass__object d_sidl_baseclass;
struct sidl_Loader__epv* d_epv;
void* d_data;
};
struct sidl_Loader__external {
struct sidl_Loader__object*
(*createObject)(void);
struct sidl_Loader__sepv*
(*getStaticEPV)(void);
struct sidl_BaseClass__epv*(*getSuperEPV)(void);
};
/*
* This function returns a pointer to a static structure of
* pointers to function entry points. Its purpose is to provide
* one-stop shopping for loading DLLs.
*/
const struct sidl_Loader__external*
sidl_Loader__externals(void);
#ifdef __cplusplus
}
#endif
#endif
|