summaryrefslogtreecommitdiff
path: root/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_Statistics.h
blob: 4d7dcff1df996abbe67c94532f69ab9377b9509c (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
// $Id$
#ifndef STATISTICS_C_H
#define STATISTICS_C_H

#include "CSD_TP_Foo_C_Export.h"
#include "StatisticsHelper.h"


class CSD_TP_Foo_C_Export Foo_C_Statistics 
{
  public:

    Foo_C_Statistics(unsigned num_remote_clients, 
                     unsigned num_collocated_clients);

    virtual ~Foo_C_Statistics();

    void expected(unsigned op_num, unsigned count, bool remote_client);
    void actual(unsigned op_num, unsigned count);
    void actual_in_values(unsigned op_num, LongVector lv);

    bool actual_vs_expected();


  private:

    unsigned num_remote_clients_; 
    unsigned num_collocated_clients_;
    unsigned expected_[10];
    unsigned actual_[10];

    LongVector actual_in_values_ [10];
};

#endif