blob: fb0a87ace9671353773a3af703e27f55c6fdace5 (
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
|
#ifndef __TESTS_SIMPLE_SINK_HH__
#define __TESTS_SIMPLE_SINK_HH__
#include "common/lines.hh"
namespace rtfl {
namespace tests {
class SimpleSink: public rtfl::tools::LinesSink {
private:
long getCurrentTime ();
void msg (const char *fmt, ...);
long startTime;
public:
SimpleSink ();
void setLinesSource (rtfl::tools::LinesSource *source);
void processLine (char *line);
void timeout (int type);
void finish ();
};
} // namespace tests
} // namespace rtfl
#endif // __TESTS_SIMPLE_SINK_HH__
|