IdUniquenessStrategyUnique.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file IdUniquenessStrategyUnique.h
00006  *
00007  *  $Id: IdUniquenessStrategyUnique.h 76551 2007-01-24 13:42:44Z johnnyw $
00008  *
00009  *  @author  Johnny Willemsen  <jwillemsen@remedy.nl>
00010  */
00011 //=============================================================================
00012 
00013 #ifndef TAO_ID_UNIQUENESSSTRATEGYUNIQUE_H
00014 #define TAO_ID_UNIQUENESSSTRATEGYUNIQUE_H
00015 #include /**/ "ace/pre.h"
00016 
00017 #include "tao/PortableServer/portableserver_export.h"
00018 
00019 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00020 # pragma once
00021 #endif /* ACE_LACKS_PRAGMA_ONCE */
00022 
00023 #include "tao/PortableServer/IdUniquenessStrategy.h"
00024 #include "ace/Service_Config.h"
00025 
00026 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00027 
00028 namespace TAO
00029 {
00030   namespace Portable_Server
00031   {
00032     class TAO_PortableServer_Export IdUniquenessStrategyUnique
00033       : public IdUniquenessStrategy
00034     {
00035     public:
00036       IdUniquenessStrategyUnique (void);
00037 
00038       virtual void strategy_init (TAO_Root_POA *poa
00039                                  );
00040 
00041       virtual void strategy_cleanup (void);
00042 
00043       virtual bool is_servant_activation_allowed (
00044         PortableServer::Servant servant,
00045         bool &wait_occurred_restart_call);
00046 
00047       virtual bool allow_multiple_activations (void) const;
00048 
00049       virtual ::PortableServer::IdUniquenessPolicyValue type() const;
00050 
00051     private:
00052       TAO_Root_POA* poa_;
00053     };
00054 
00055   }
00056 }
00057 
00058 TAO_END_VERSIONED_NAMESPACE_DECL
00059 
00060 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_PortableServer, IdUniquenessStrategyUnique)
00061 ACE_FACTORY_DECLARE (TAO_PortableServer, IdUniquenessStrategyUnique)
00062 
00063 
00064 #include /**/ "ace/post.h"
00065 #endif /* TAO_ID_UNIQUENESSSTRATEGYUNIQUE_H */

Generated on Sun Jan 27 13:23:42 2008 for TAO_PortableServer by doxygen 1.3.6