summaryrefslogtreecommitdiff
path: root/perf/src/CosEvent/WorkerThread.h
blob: 4eaa52d66b64af846cee8567c48fe0e8a05ad9ec (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
// **********************************************************************
//
// 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 ICEPERF_WORKERTHREAD_H
#define ICEPERF_WORKERTHREAD_H

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

//
// Worker thread for running the TAO ORB. 
//

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

    virtual int svc();

private:
    CORBA::ORB_var _orb;
};

#endif /* ICEPERF_WORKERTHREAD_H */