Ice 3.7 Slice API Reference
Main Page
Modules
Modules List
Module Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
y
Constants
Sequences
a
b
d
e
f
i
l
m
n
o
p
r
s
Dictionaries
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
l
n
o
p
r
t
u
w
y
Interfaces
Interface List
Interface Index
Interface Hierarchy
Classes
Class List
Class Index
Class Hierarchy
Structs
Struct List
Struct Index
Exceptions
Exception List
Exception Index
Exception Hierarchy
Files
File List
•
All
Classes
Interfaces
Structs
Exceptions
Modules
Files
Operations
Constants
Sequences
Dictionaries
Enumerations
Enumerator
Pages
Ice
ObjectFactory.ice
Go to the documentation of this file.
1
//
2
// Copyright (c) ZeroC, Inc. All rights reserved.
3
//
4
5
#pragma once
6
7
[[
"cpp:dll-export:ICE_API"
]]
8
[[
"cpp:doxygen:include:Ice/Ice.h"
]]
9
[[
"cpp:header-ext:h"
]]
10
11
[[
"ice-prefix"
]]
12
13
[[
"js:module:ice"
]]
14
[[
"js:cjs-module"
]]
15
16
[[
"objc:dll-export:ICE_API"
]]
17
[[
"objc:header-dir:objc"
]]
18
19
[[
"python:pkgdir:Ice"
]]
20
21
#ifndef __SLICE2JAVA_COMPAT__
22
[[
"java:package:com.zeroc"
]]
23
#endif
24
25
[
"objc:prefix:ICE"
]
26
module
Ice
27
{
28
29
#if !defined(__SLICE2PHP__) && !defined(__SLICE2SWIFT__)
30
37
[
"deprecate:ObjectFactory has been deprecated, use ValueFactory instead."
]
38
local
interface
ObjectFactory
39
{
56
Value
create
(
string
type);
57
66
void
destroy
();
67
}
68
69
#endif
70
71
}
Ice::ObjectFactory::destroy
void destroy()
Called when the factory is removed from the communicator, or if the communicator is destroyed.
Ice::ObjectFactory::create
Value create(string type)
Create a new object for a given object type.
Ice::ObjectFactory
A factory for objects.
Definition:
ObjectFactory.ice:39
Ice
The Ice core library.
Definition:
BuiltinSequences.ice:27
Generated by
1.8.20