200d766fc616156b8d1c0d39775326bfd1ab8724
[platform/framework/native/appfw.git] / src / base / runtime / FBaseRt_WorkerThreadImpl.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16
17 /**
18  * @file        FBaseRt_WorkerThreadImpl.h
19  * @brief       This is the header file for the _WorkerThreadImpl class.
20  *
21  * This file contains the declarations of _WorkerThreadImpl.
22  */
23
24
25 #ifndef _FRT_THREAD_INTERNAL_WORKER_THREAD_IMPL_H_
26 #define _FRT_THREAD_INTERNAL_WORKER_THREAD_IMPL_H_
27
28 #include "FBaseRt_ThreadImpl.h"
29
30 namespace Tizen { namespace Base { namespace Runtime
31 {
32
33 class _WorkerThreadImpl
34         : public _ThreadImpl
35 {
36 public:
37         _WorkerThreadImpl(Thread& thread, IRunnable* pIRunnable, const String& name, long stackSize, ThreadPriority priority);
38
39         virtual ~_WorkerThreadImpl(void);
40
41         virtual Tizen::Base::Object* Run(void);
42
43 private:
44         _WorkerThreadImpl(const _WorkerThreadImpl& rhs);
45         _WorkerThreadImpl& operator= (const _WorkerThreadImpl& rhs);
46
47 private:
48         IRunnable* __pIRunnable;
49 };
50
51
52 } } } // Tizen::Base::Runtime
53
54 #endif  // _FRT_THREAD_INTERNAL_WORKER_THREAD_H_