summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/CSD_Strategy/TestInf/OrbRunner.h
blob: cdbbcfea2229e0381c7d17c52a032e853f712d73 (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
// $Id$
#ifndef ORB_RUNNER_H
#define ORB_RUNNER_H

#include "CSD_PT_TestInf_Export.h"
#include "tao/ORB.h"

class CSD_PT_TestInf_Export OrbRunner
{
  public:

    OrbRunner(CORBA::ORB_ptr orb, unsigned num_orb_threads = 1);
    virtual ~OrbRunner();

    void run(ACE_ENV_SINGLE_ARG_DECL);


  private:

    CORBA::ORB_var orb_;
    unsigned       num_orb_threads_;
};

#endif