00001 // -*- C++ -*- 00002 00003 //$Id: Distributable_Thread.h 81429 2008-04-24 18:49:54Z johnnyw $ 00004 00005 #ifndef DISTRIBUTABLE_THREAD_H 00006 #define DISTRIBUTABLE_THREAD_H 00007 00008 #include "tao/RTScheduling/RTScheduler.h" 00009 #include "tao/LocalObject.h" 00010 00011 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00012 00013 class TAO_RTScheduler_Export TAO_DistributableThread: 00014 public RTScheduling::DistributableThread, 00015 public ::CORBA::LocalObject 00016 { 00017 public: 00018 TAO_DistributableThread (void); 00019 00020 ~TAO_DistributableThread (void); 00021 00022 virtual void cancel (void); 00023 00024 virtual RTScheduling::DistributableThread::DT_State state (void); 00025 00026 private: 00027 RTScheduling::DistributableThread::DT_State state_; 00028 }; 00029 00030 00031 class TAO_DistributableThread_Factory 00032 { 00033 public: 00034 static RTScheduling::DistributableThread_ptr create_DT (void); 00035 }; 00036 00037 TAO_END_VERSIONED_NAMESPACE_DECL 00038 00039 #endif /*DISTRIBUTABLE_THREAD_H*/