Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / PortableServer / IdUniquenessStrategyMultiple.h
blob15831b56c3185bad1677dc8d0615bb8c90c1a34e
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file IdUniquenessStrategyMultiple.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
8 */
9 //=============================================================================
11 #ifndef TAO_ID_UNIQUENESSSTRATEGY_MULITPLE_H
12 #define TAO_ID_UNIQUENESSSTRATEGY_MULITPLE_H
13 #include /**/ "ace/pre.h"
15 #include "tao/PortableServer/IdUniquenessStrategy.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
18 # pragma once
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
23 namespace TAO
25 namespace Portable_Server
27 class IdUniquenessStrategyMultiple : public IdUniquenessStrategy
29 public:
30 void strategy_init (TAO_Root_POA *poa) override;
32 void strategy_cleanup () override;
34 bool is_servant_activation_allowed (PortableServer::Servant servant, bool &w) override;
36 bool allow_multiple_activations () const override;
41 TAO_END_VERSIONED_NAMESPACE_DECL
43 #include /**/ "ace/post.h"
44 #endif /* TAO_ID_UNIQUENESSSTRATEGY_MULITPLE_H */