16#ifndef __Ice_ObjectFactory_h__
17#define __Ice_ObjectFactory_h__
31#ifndef ICE_IGNORE_VERSION
32# if ICE_INT_VERSION / 100 != 307
33# error Ice version mismatch!
35# if ICE_INT_VERSION % 100 >= 50
36# error Beta header file detected
38# if ICE_INT_VERSION % 100 < 11
39# error Ice patch level mismatch!
44# if defined(ICE_STATIC_LIBS)
46# elif defined(ICE_API_EXPORTS)
47# define ICE_API ICE_DECLSPEC_EXPORT
49# define ICE_API ICE_DECLSPEC_IMPORT
53#ifdef ICE_CPP11_MAPPING
73class ICE_CLASS(ICE_API) ObjectFactory
91 ICE_DEPRECATED_API(
"ObjectFactory has been deprecated, use ValueFactory instead.") virtual ::std::shared_ptr<::Ice::Value> create(const ::std::
string& type) = 0;
98 ICE_DEPRECATED_API(
"ObjectFactory has been deprecated, use ValueFactory instead.") virtual
void destroy() = 0;
151#ifdef ICE_CPP11_COMPILER
#define ICE_DEPRECATED_API(msg)
Definition Config.h:217
#define ICE_API
Definition Config.h:197
#define ICE_MEMBER(API)
Definition Config.h:177
Shared & operator=(const Shared &)
Definition Shared.h:94
Base class for local Slice classes and interfaces.
Definition LocalObject.h:25
A factory for objects.
Definition ObjectFactory.h:144
virtual ValuePtr create(const ::std::string &type)=0
Create a new object for a given object type.
ObjectFactoryPtr PointerType
Definition ObjectFactory.h:147
virtual void destroy()=0
Called when the factory is removed from the communicator, or if the communicator is destroyed.
Definition BuiltinSequences.h:113
::IceInternal::Handle< ObjectFactory > ObjectFactoryPtr
Definition ObjectFactory.h:128
ObjectPtr ValuePtr
Definition ObjectF.h:22
IceUtil::Shared * upCast(::Ice::AsyncResult *)