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
16 TAO_DistributableThread () = default;
17 ~TAO_DistributableThread () = default;
19 void cancel () override
;
21 RTScheduling::DistributableThread::DT_State
state () override
;
24 RTScheduling::DistributableThread::DT_State state_
{RTScheduling::DistributableThread::ACTIVE
};
27 class TAO_DistributableThread_Factory
30 static RTScheduling::DistributableThread_ptr
create_DT ();
33 TAO_END_VERSIONED_NAMESPACE_DECL
35 #endif /*DISTRIBUTABLE_THREAD_H*/