summaryrefslogtreecommitdiff
path: root/TAO/tests/CSD_Strategy_Tests/TP_Common/OrbRunner.h
blob: 71c7c4e358c3d6345b2bc3b716e698c5bc894aba (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_TP_Test_Export.h"
#include "tao/ORB.h"

class CSD_TP_Test_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