Global Functions in Global Namespace C++
in Sourcefile mapping.h
-
uno_getMapping
- extern "C"
void uno_getMapping(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Gets an interface mapping from one environment to another.
- Parameters
ppMapping |
mapping; existing mapping will be released
|
pFrom |
source environment
|
pTo |
destination environment
(interfaces resulting in mapInterface() call can be used
in this language environment)
|
pAddPurpose |
additional purpose of mapping (e.g., protocolling); defaults to 0 (none)
|
-
uno_getMappingByName
- extern "C"
void uno_getMappingByName(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Gets an interface mapping from one language environment to another by corresponding environment
type names.
- Parameters
ppMapping |
mapping; existing mapping will be released
|
pFrom |
source environment type name
|
pTo |
destination environment type name
(interfaces resulting in mapInterface() call can be used
in this language environment)
|
pAddPurpose |
additional purpose of mapping (e.g., protocolling); defaults to 0 (none)
|
-
uno_registerMapping
- extern "C"
void uno_registerMapping(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Registers a mapping. A mapping registers itself on first acquire and revokes itself on last
release. The given freeMapping function is called by the runtime to cleanup any resources.
- Parameters
ppMapping |
inout mapping to be registered
|
freeMapping |
called by runtime to delete mapping
|
pFrom |
source environment
|
pTo |
destination environment
|
pAddPurpose |
additional purpose string; defaults to 0
|
-
uno_registerMappingCallback
- extern "C"
void uno_registerMappingCallback(
uno_getMappingFunc |
pCallback ); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Registers a callback being called each time a mapping is demanded.
- Parameters
pCallback |
callback function
|
-
uno_revokeMapping
- extern "C"
void uno_revokeMapping(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Revokes a mapping. A mapping registers itself on first acquire and revokes itself on last
release.
- Parameters
pMapping |
mapping to be revoked
|
-
uno_revokeMappingCallback
- extern "C"
void uno_revokeMappingCallback(
uno_getMappingFunc |
pCallback ); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Revokes a mapping callback registration.
- Parameters
pCallback |
callback function
|
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.