summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/ThreadStrategy.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2023-02-13 11:42:23 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2023-02-13 11:42:23 +0100
commit322d0a3e30d2e608108e0d7caf6bdcddbd728081 (patch)
treeb39a880512642221f2545276cc3f68c5e04a8ab1 /TAO/tao/PortableServer/ThreadStrategy.h
parent69fbec6c475060cf01a710a3d7ed6e756538858c (diff)
downloadATCD-322d0a3e30d2e608108e0d7caf6bdcddbd728081.tar.gz
Major cleanup in PortableServer library
Diffstat (limited to 'TAO/tao/PortableServer/ThreadStrategy.h')
-rw-r--r--TAO/tao/PortableServer/ThreadStrategy.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/TAO/tao/PortableServer/ThreadStrategy.h b/TAO/tao/PortableServer/ThreadStrategy.h
index 289c9dcd214..6ad68bcb0cd 100644
--- a/TAO/tao/PortableServer/ThreadStrategy.h
+++ b/TAO/tao/PortableServer/ThreadStrategy.h
@@ -12,13 +12,12 @@
#define TAO_THREAD_STRATEGY_H
#include /**/ "ace/pre.h"
-#include "tao/PortableServer/Policy_Strategy.h"
+#include "tao/PortableServer/ThreadPolicyC.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "tao/PortableServer/ThreadPolicyC.h"
#include "tao/orbconf.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
@@ -28,18 +27,14 @@ namespace TAO
namespace Portable_Server
{
class ThreadStrategy
- : public Policy_Strategy
{
public:
+ ThreadStrategy () = default;
+ virtual ~ThreadStrategy () = default;
+
virtual int enter () = 0;
virtual int exit () = 0;
-
- void strategy_init (TAO_Root_POA *poa) override;
-
- void strategy_cleanup() override;
-
- virtual ::PortableServer::ThreadPolicyValue type() const = 0;
};
}
}