summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/CSD_Strategy/TestServant/Foo_ClientEngine.h
blob: 233c9f7bcdfae44deca8ffca4a9f2c138a019042 (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
34
35
36
37
38
39
// This may look like C, but it's really -*- C++ -*-

//=============================================================================
/**
 *  @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