summaryrefslogtreecommitdiff
path: root/TAO/tao/RTScheduling/Distributable_Thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/RTScheduling/Distributable_Thread.h')
-rw-r--r--TAO/tao/RTScheduling/Distributable_Thread.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/TAO/tao/RTScheduling/Distributable_Thread.h b/TAO/tao/RTScheduling/Distributable_Thread.h
new file mode 100644
index 00000000000..81f38d59b78
--- /dev/null
+++ b/TAO/tao/RTScheduling/Distributable_Thread.h
@@ -0,0 +1,35 @@
+//$Id$
+
+#ifndef DISTRIBUTABLE_THREAD_H
+#define DISTRIBUTABLE_THREAD_H
+
+#include "tao/RTScheduling/RTSchedulerC.h"
+
+class TAO_RTScheduler_Export TAO_DistributableThread
+: public RTScheduling::DistributableThread
+{
+ public:
+
+ TAO_DistributableThread (void);
+
+ ~TAO_DistributableThread (void);
+
+ virtual void cancel (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+
+ virtual RTScheduling::DistributableThread::DT_State state (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ RTScheduling::DistributableThread::DT_State state_;
+};
+
+
+class TAO_DistributableThread_Factory
+{
+public:
+ static RTScheduling::DistributableThread_ptr create_DT (void);
+};
+
+#endif /*DISTRIBUTABLE_THREAD_H*/