diff options
Diffstat (limited to 'TAO/tao/PortableServer/ImplicitActivationStrategy.h')
-rw-r--r-- | TAO/tao/PortableServer/ImplicitActivationStrategy.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/TAO/tao/PortableServer/ImplicitActivationStrategy.h b/TAO/tao/PortableServer/ImplicitActivationStrategy.h new file mode 100644 index 00000000000..22ca61b5cbf --- /dev/null +++ b/TAO/tao/PortableServer/ImplicitActivationStrategy.h @@ -0,0 +1,45 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file ImplicitActivationStrategy.h + * + * $Id$ + * + * @author Johnny Willemsen <jwillemsen@remedy.nl> + */ +//============================================================================= + +#ifndef TAO_ACTIVATION_STRATEGY_H +#define TAO_ACTIVATION_STRATEGY_H +#include /**/ "ace/pre.h" + +#include "tao/PortableServer/Policy_Strategy.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +namespace TAO +{ + namespace Portable_Server + { + class ImplicitActivationStrategy + : public Policy_Strategy + { + public: + virtual void strategy_init(TAO_Root_POA *poa ACE_ENV_ARG_DECL); + + virtual void strategy_cleanup(ACE_ENV_SINGLE_ARG_DECL); + + virtual bool allow_implicit_activation (void) const = 0; + }; + } +} + +TAO_END_VERSIONED_NAMESPACE_DECL + +#include /**/ "ace/post.h" +#endif /* TAO_ACTIVATION_STRATEGY_H */ |