summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/CSD_Strategy/TestServant/Foo_ClientEngine.h
blob: 07f5e9fcaca9bd200e6047ad49d581e04f710754 (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
32
33
//=============================================================================
/**
 *  @file    Foo_ClientEngine.h
 *
 *  @author  Tim Bradley <bradley_t@ociweb.com>
 */
//=============================================================================

#ifndef FOO_CLIENT_ENGINE_H
#define FOO_CLIENT_ENGINE_H

#include "CSD_PT_TestServant_Export.h"
#include "TestInf/ClientEngine.h"
#include "TestServant/FooC.h"

class Foo_Statistics;

class CSD_PT_TestServant_Export Foo_ClientEngine : public ClientEngine
{
public:
  Foo_ClientEngine(Foo_ptr obj, unsigned  client_id = 0);
  virtual ~Foo_ClientEngine();

  virtual bool execute(unsigned num_loops);

  static void expected_results(Foo_Statistics& stats);

private:
  Foo_var  obj_;
  unsigned client_id_;
};

#endif