source: trunk/FACT++/src/MessageDim.h@ 10211

Last change on this file since 10211 was 10183, checked in by tbretz, 14 years ago
New import.
File size: 695 bytes
Line 
1#ifndef FACT_MessageDim
2#define FACT_MessageDim
3
4#include "MessageImp.h"
5
6
7
8#include <dis.hxx> // DimService
9
10class MessageDimTX : public DimService, public MessageImp
11{
12public:
13 MessageDimTX(const std::string &name, std::ostream &out=std::cout);
14 ~MessageDimTX();
15
16 int Write(const Time &t, const char *txt, int qos=kInfo);
17};
18
19
20
21#include <dic.hxx> // DimStampedInfo
22
23class MessageDimRX : public DimInfoHandler
24{
25protected:
26 MessageImp &fMsg;
27
28private:
29 DimStampedInfo fDimMessage;
30
31 int fMinLogLevel;
32
33protected:
34 void infoHandler();
35
36public:
37 MessageDimRX(const std::string &name, MessageImp &imp);
38
39 void SetMinLogLevel(int min=0) { fMinLogLevel=min; }
40};
41
42#endif
Note: See TracBrowser for help on using the repository browser.