3 //=============================================================================
5 * @file IdUniquenessStrategyUniqueFactoryImpl.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
9 //=============================================================================
11 #ifndef TAO_PORTABLESERVER_IDUNIQUENESSSTRATEGYUNIQUEFACTORYIMPL_H
12 #define TAO_PORTABLESERVER_IDUNIQUENESSSTRATEGYUNIQUEFACTORYIMPL_H
13 #include /**/ "ace/pre.h"
15 #include "tao/PortableServer/portableserver_export.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "ace/Service_Config.h"
22 #include "tao/PortableServer/IdUniquenessStrategyFactory.h"
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
28 namespace Portable_Server
30 class TAO_PortableServer_Export IdUniquenessStrategyUniqueFactoryImpl
31 : public IdUniquenessStrategyFactory
34 /// Create a new strategy
35 virtual IdUniquenessStrategy
* create (::PortableServer::IdUniquenessPolicyValue value
);
37 virtual void destroy (IdUniquenessStrategy
*strategy
);
42 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_PortableServer
, IdUniquenessStrategyUniqueFactoryImpl
)
43 ACE_FACTORY_DECLARE (TAO_PortableServer
, IdUniquenessStrategyUniqueFactoryImpl
)
45 TAO_END_VERSIONED_NAMESPACE_DECL
47 #include /**/ "ace/post.h"
48 #endif /* TAO_PORTABLESERVER_IDUNIQUENESSSTRATEGYUNIQUEFACTORYIMPL_H */