Rev | Line | |
---|
[22] | 1 | /** |
---|
| 2 | * @file CaptureDispatch.h |
---|
| 3 | * This header file defines the CaptureDispatch class. |
---|
| 4 | * @author Tomas Urban |
---|
| 5 | * @version 0.1 |
---|
| 6 | * @date 16/07/2009 |
---|
| 7 | */ |
---|
| 8 | #ifndef CAPTURE_DISPATCH_H |
---|
| 9 | #define CAPTURE_DISPATCH_H |
---|
| 10 | |
---|
| 11 | #include "Messages/CapturedData.h" |
---|
| 12 | |
---|
| 13 | /** |
---|
| 14 | * An abstract class providing a generic interface for dispatching captured data. The |
---|
| 15 | * exact way how the dispatching mechanism works is defined in child classes |
---|
| 16 | * (strategy design pattern). |
---|
| 17 | */ |
---|
| 18 | class CaptureDispatch |
---|
| 19 | { |
---|
| 20 | protected: |
---|
| 21 | CaptureDispatch(void) {}; |
---|
| 22 | public: |
---|
| 23 | virtual ~CaptureDispatch(void) {}; |
---|
| 24 | /** |
---|
| 25 | * Dispatches captured data to the recipient. |
---|
| 26 | * @param pData Captured data to be dispatched |
---|
| 27 | */ |
---|
| 28 | virtual void DispatchData(CapturedData * pData) = 0; |
---|
| 29 | }; |
---|
| 30 | |
---|
| 31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.