Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / RTScheduling / Distributable_Thread.h
blobb980148eee706d45c1a8ec39cbcb6e96d46e433d
1 // -*- C++ -*-
3 #ifndef DISTRIBUTABLE_THREAD_H
4 #define DISTRIBUTABLE_THREAD_H
6 #include "tao/RTScheduling/RTScheduler.h"
7 #include "tao/LocalObject.h"
9 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
11 class TAO_RTScheduler_Export TAO_DistributableThread:
12 public RTScheduling::DistributableThread,
13 public ::CORBA::LocalObject
15 public:
16 TAO_DistributableThread () = default;
17 ~TAO_DistributableThread () = default;
19 void cancel () override;
21 RTScheduling::DistributableThread::DT_State state () override;
23 private:
24 RTScheduling::DistributableThread::DT_State state_ {RTScheduling::DistributableThread::ACTIVE};
27 class TAO_DistributableThread_Factory
29 public:
30 static RTScheduling::DistributableThread_ptr create_DT ();
33 TAO_END_VERSIONED_NAMESPACE_DECL
35 #endif /*DISTRIBUTABLE_THREAD_H*/