Merge pull request #2046 from jwillemsen/jwinullptrexce
[ACE_TAO.git] / TAO / tao / PortableServer / IdUniquenessStrategyUniqueFactoryImpl.h
blobf5dfc25b016eceb79ef11fd4d9df39a6e71e7333
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file IdUniquenessStrategyUniqueFactoryImpl.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
8 */
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)
18 # 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
26 namespace TAO
28 namespace Portable_Server
30 class TAO_PortableServer_Export IdUniquenessStrategyUniqueFactoryImpl
31 : public IdUniquenessStrategyFactory
33 public:
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 */