summaryrefslogtreecommitdiff
path: root/TAO/tests/CSD_Strategy_Tests/TP_Foo_A/Foo_A_Statistics.h
blob: d5bf9ea2c717587512da32630733350009f022fc (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
// $Id$
#ifndef STATISTICS_A_H
#define STATISTICS_A_H

#include "CSD_TP_Foo_A_Export.h"
#include "StatisticsHelper.h"


class CSD_TP_Foo_A_Export Foo_A_Statistics 
{
  public:

    Foo_A_Statistics(unsigned num_clients);

    virtual ~Foo_A_Statistics();

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

    bool actual_vs_expected();


  private:

    unsigned num_clients_;

    unsigned expected_[5];
    unsigned actual_[5];

    LongVector actual_in_values_ [5];
};

#endif