summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/LifespanStrategy.h
diff options
context:
space:
mode:
authorErik Sohns <esohns@users.noreply.github.com>2023-04-06 11:09:11 +0200
committerGitHub <noreply@github.com>2023-04-06 11:09:11 +0200
commita3a7c2a50383ebf00534c28014704ce57e092821 (patch)
tree0de4a576c9929ac6d821462e1693882654f2a456 /TAO/tao/PortableServer/LifespanStrategy.h
parent5625244fd7bb77bafabce28fdec790f51ef50080 (diff)
parentb50aba0fdce1069b9aa9b1baac9adee396663779 (diff)
downloadATCD-a3a7c2a50383ebf00534c28014704ce57e092821.tar.gz
Merge branch 'master' into message_queue_ex_get_queue
Diffstat (limited to 'TAO/tao/PortableServer/LifespanStrategy.h')
-rw-r--r--TAO/tao/PortableServer/LifespanStrategy.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/TAO/tao/PortableServer/LifespanStrategy.h b/TAO/tao/PortableServer/LifespanStrategy.h
index 01a9a150dbd..ac034037f9f 100644
--- a/TAO/tao/PortableServer/LifespanStrategy.h
+++ b/TAO/tao/PortableServer/LifespanStrategy.h
@@ -12,17 +12,18 @@
#define TAO_PORTABLESERVER_LIFESPANPOLICY_H
#include /**/ "ace/pre.h"
-#include "tao/PortableServer/Policy_Strategy.h"
+#include "tao/PortableServer/LifespanPolicyC.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "tao/PortableServer/LifespanPolicyC.h"
#include "tao/Object_KeyC.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+class TAO_Root_POA;
+
namespace TAO
{
namespace Portable_Server
@@ -30,10 +31,10 @@ namespace TAO
class Temporary_Creation_Time;
class LifespanStrategy
- : public Policy_Strategy
{
public:
- LifespanStrategy ();
+ LifespanStrategy () = default;
+ virtual ~LifespanStrategy () = default;
virtual void strategy_init (TAO_Root_POA *poa);
@@ -70,8 +71,6 @@ namespace TAO
/// Check the state of the POA.
virtual void check_state () = 0;
- virtual ::PortableServer::LifespanPolicyValue type () const = 0;
-
virtual bool use_imr () const = 0;
virtual CORBA::Object_ptr imr_key_to_object (
@@ -79,7 +78,7 @@ namespace TAO
const char *type_id) const = 0;
protected:
- TAO_Root_POA *poa_;
+ TAO_Root_POA *poa_ {};
};
} /* namespace Portable_Server */
} /* namespace TAO */