blob: b821b2c7230e9d0939670f3f9a415c80afc8a70f (
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
42
43
44
45
|
// This may look like C, but it's really -*- C++ -*-
//=============================================================================
/**
* @file Foo_B_SimpleClientEngine.h
*
* @author Tim Bradley <bradley_t@ociweb.com>
*/
//=============================================================================
#ifndef FOO_B_SIMPLE_CLIENT_ENGINE_H
#define FOO_B_SIMPLE_CLIENT_ENGINE_H
#include "CSD_TP_Foo_B_Export.h"
#include "ClientEngine.h"
#include "Foo_BC.h"
class Foo_B_Statistics;
class Callback_i;
class CSD_TP_Foo_B_Export Foo_B_SimpleClientEngine : public ClientEngine
{
public:
Foo_B_SimpleClientEngine(Foo_B_ptr obj,
Callback_ptr callback,
unsigned client_id = 0,
bool collocated = false);
virtual ~Foo_B_SimpleClientEngine();
virtual bool execute(void);
static void expected_results(Foo_B_Statistics& stats);
static unsigned expected_callbacks ();
private:
Foo_B_var obj_;
Callback_var callback_;
unsigned client_id_;
bool collocated_;
};
#endif
|