summaryrefslogtreecommitdiff
path: root/perf/src/TAO/WorkerThread.h
blob: 444d300ea56e631436485f42e62d0dd74398ae34 (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
// **********************************************************************
//
// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

#ifndef WORKER_THREAD_H
#define WORKER_THREAD_H

#include <tao/ORB.h>
#include <ace/Task.h>

class WorkerThread : public ACE_Task_Base
{
public:
    WorkerThread(CORBA::ORB_ptr orb);

    virtual int svc();

private:
    CORBA::ORB_var _orb;
};

#endif /* WORKER_THREAD_H */