Rev 1315 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1315 | Rev 1403 | ||
|---|---|---|---|
| Line 13... | Line 13... | ||
| 13 | #include "message/Message.h" |
13 | #include "message/Message.h" |
| 14 | #include "log/Logger.h" |
14 | #include "log/Logger.h" |
| 15 | 15 | ||
| 16 | namespace atom { |
16 | namespace atom { |
| 17 | namespace subscribers { |
17 | namespace subscribers { |
| 18 | - | ||
| 19 | using namespace broker; |
- | |
| 20 | using namespace message; |
- | |
| 21 | 18 | ||
| 22 | class Monitor : public Subscriber |
19 | class Monitor : public Subscriber |
| 23 | { |
20 | { |
| 24 | public: |
21 | public: |
| 25 | typedef boost::shared_ptr<Monitor> |
22 | typedef boost::shared_ptr<Monitor> Pointer; |
| 26 | 23 | ||
| 27 | Monitor( |
24 | Monitor(); |
| 28 | virtual ~Monitor(); |
25 | virtual ~Monitor(); |
| 29 | 26 | ||
| 30 | protected: |
27 | protected: |
| 31 | void |
28 | void OnMessage(Message::Pointer message); |
| 32 | 29 | ||
| 33 | private: |
30 | private: |
| 34 | log::Logger LOG; |
31 | log::Logger LOG; |
| 35 | }; |
32 | }; |
| 36 | 33 | ||
| 37 | } |
- | |
| - | 34 | } // namespace subscribers |
|
| 38 | } |
35 | } // namesapce atom |
| 39 | 36 | ||
| 40 | #endif /* MONITOR_HPP_ */ |
37 | #endif /* MONITOR_HPP_ */ |