summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/CSD_Strategy/TestServant/Foo_ClientEngine.h
blob: 244fdd1a03de191d8ec6d0ed9996009eba86fa70 (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
40
41
// This may look like C, but it's really -*- C++ -*-

//=============================================================================
/**
 *  @file    Foo_ClientEngine.h
 *
 *  $Id$
 *
 *  @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 "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