blob: b7a82a1b84a2838d70e2f77dd376eeeb45437f4e (
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
|
/* -*- C++ -*- */
// $Id$
// ttcp_i.C
// implementation of the ttcp and Profile_Logger objects.
#if !defined (TTCP_I_H)
#define TTCP_I_H
// This is a total hack...
#define private public
#include "ttcp_s.hh"
#include "ttcp_c.hh"
class ttcp_string_i : public ttcp_string_impl {
public:
ttcp_string_i();
virtual void send(const CORBA::String& ttcp_string);
virtual void send_hack(const CORBA::String& ttcp_string);
virtual void start_timer();
virtual void stop_timer();
private:
unsigned long nbytes_;
};
class ttcp_sequence_i : public ttcp_sequence_impl {
public:
ttcp_sequence_i();
virtual void send(const ttcp_sequence::my_sequence& ttcp_seq);
virtual void send_hack(const CORBA::String& ttcp_string);
virtual void start_timer();
virtual void stop_timer();
private:
unsigned long nbytes_;
};
#endif
|