Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / apps / JAWS2 / JAWS / Pipeline_Handler_T.h
blobeb757eb92f0f2816806479ac5287fba13c94e31a
1 /* -*- c++ -*- */
2 #ifndef JAWS_PIPELINE_HANDLER_T_H
3 #define JAWS_PIPELINE_HANDLER_T_H
5 #include "JAWS/Export.h"
6 #include "JAWS/Pipeline.h"
8 template <class TYPE>
9 class JAWS_Pipeline_Abstract_Handler : public JAWS_Pipeline_Task
10 // = TITLE
11 // Methods that are common to pipeline components
13 public:
14 JAWS_Pipeline_Abstract_Handler ();
15 virtual ~JAWS_Pipeline_Abstract_Handler ();
16 // ACE_Task hooks
18 virtual int put (ACE_Message_Block *mb, ACE_Time_Value *tv = 0);
19 // inherited from ACE_Task
21 virtual int handle_put (TYPE *data, ACE_Time_Value *tv) = 0;
22 // Callback hook for specialized data processing
25 #include "JAWS/Pipeline_Handler_T.cpp"
27 #endif /* !defined (JAWS_PIPELINE_HANDLER_T_H) */