blob: 8fc2dca562ae9e886bf35c9f3d92986d8844a50e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
// -*- C++ -*-
//$Id$
#ifndef DISTRIBUTABLE_THREAD_H
#define DISTRIBUTABLE_THREAD_H
#include "tao/RTScheduling/RTScheduler.h"
#include "tao/LocalObject.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
class TAO_RTScheduler_Export TAO_DistributableThread:
public RTScheduling::DistributableThread,
public TAO_Local_RefCounted_Object
{
public:
TAO_DistributableThread (void);
~TAO_DistributableThread (void);
virtual void cancel (void)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual RTScheduling::DistributableThread::DT_State state (void)
ACE_THROW_SPEC ((CORBA::SystemException));
private:
RTScheduling::DistributableThread::DT_State state_;
};
class TAO_DistributableThread_Factory
{
public:
static RTScheduling::DistributableThread_ptr create_DT (void);
};
TAO_END_VERSIONED_NAMESPACE_DECL
#endif /*DISTRIBUTABLE_THREAD_H*/
|