Updated logging to include the class/method so that it is more obvious where these...
[ACE_TAO.git] / TAO / tao / PortableServer / IdAssignmentStrategyFactory.h
blobceab91a8dc7eff179b10d92c6e374099eb801fcf
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file IdAssignmentStrategyFactory.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
8 */
9 //=============================================================================
11 #ifndef TAO_PORTABLESERVER_IDASSIGNMENTSTRATEGYFACTORY_H
12 #define TAO_PORTABLESERVER_IDASSIGNMENTSTRATEGYFACTORY_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 "tao/PortableServer/StrategyFactory.h"
22 #include "tao/PortableServer/IdAssignmentPolicyC.h"
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
26 namespace TAO
28 namespace Portable_Server
30 class IdAssignmentStrategy;
32 class TAO_PortableServer_Export IdAssignmentStrategyFactory
33 : public StrategyFactory
35 public:
36 /// Create a new servant retention strategy
37 virtual IdAssignmentStrategy* create (::PortableServer::IdAssignmentPolicyValue value) = 0;
39 virtual void destroy (IdAssignmentStrategy *strategy) = 0;
44 TAO_END_VERSIONED_NAMESPACE_DECL
46 #include /**/ "ace/post.h"
47 #endif /* TAO_PORTABLESERVER_IDASSIGNMENTSTRATEGYFACTORY_H */