blob: 5f23e6e36110b5f20fe508e1ee7b158674eee130 (
plain)
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
|
// **********************************************************************
//
// Copyright (c) 2002
// MutableRealms, Inc.
// Huntsville, AL, USA
//
// All Rights Reserved
//
// **********************************************************************
#ifndef ICE_VALUE_FACTORY_MANAGER_H
#define ICE_VALUE_FACTORY_MANAGER_H
#include <Ice/ValueFactoryManagerF.h>
#include <Ice/ValueFactoryF.h>
#include <Ice/Shared.h>
#include <map>
namespace IceInternal
{
class ValueFactoryManager : public ::Ice::Shared, public JTCMutex
{
public:
void install(const ::Ice::ValueFactoryPtr&, const std::string&);
::Ice::ValueFactoryPtr lookup(const std::string&);
private:
ValueFactoryManager();
void destroy();
friend class Instance;
std::map<std::string, ::Ice::ValueFactoryPtr> _factories;
};
}
#endif
|