aboutsummaryrefslogtreecommitdiff
path: root/dep/acelite/ace/Stream_Modules.h
diff options
context:
space:
mode:
Diffstat (limited to 'dep/acelite/ace/Stream_Modules.h')
-rw-r--r--dep/acelite/ace/Stream_Modules.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/dep/acelite/ace/Stream_Modules.h b/dep/acelite/ace/Stream_Modules.h
index 5bbc072ad4c..008bdecd52f 100644
--- a/dep/acelite/ace/Stream_Modules.h
+++ b/dep/acelite/ace/Stream_Modules.h
@@ -4,7 +4,7 @@
/**
* @file Stream_Modules.h
*
- * $Id: Stream_Modules.h 80826 2008-03-04 14:51:23Z wotte $
+ * $Id: Stream_Modules.h 96061 2012-08-16 09:36:07Z mcorino $
*
* @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
*/
@@ -47,15 +47,15 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL
* stream.
* - Writer: The block is passed to the next module in the stream.
*/
-template <ACE_SYNCH_DECL>
-class ACE_Stream_Head : public ACE_Task<ACE_SYNCH_USE>
+template <ACE_SYNCH_DECL, class TIME_POLICY = ACE_System_Time_Policy>
+class ACE_Stream_Head : public ACE_Task<ACE_SYNCH_USE, TIME_POLICY>
{
public:
/// Construction
ACE_Stream_Head (void);
/// Destruction
- ~ACE_Stream_Head (void);
+ virtual ~ACE_Stream_Head (void);
// = ACE_Task hooks
virtual int open (void *a = 0);
@@ -85,15 +85,15 @@ private:
*
* @brief Standard module that acts as the head of a stream.
*/
-template <ACE_SYNCH_DECL>
-class ACE_Stream_Tail : public ACE_Task<ACE_SYNCH_USE>
+template <ACE_SYNCH_DECL, class TIME_POLICY = ACE_System_Time_Policy>
+class ACE_Stream_Tail : public ACE_Task<ACE_SYNCH_USE, TIME_POLICY>
{
public:
/// Construction
ACE_Stream_Tail (void);
/// Destruction
- ~ACE_Stream_Tail (void);
+ virtual ~ACE_Stream_Tail (void);
// = ACE_Task hooks
virtual int open (void *a = 0);
@@ -124,15 +124,15 @@ private:
* @brief Standard module that acts as a "no op", simply passing on all
* data to its adjacent neighbor.
*/
-template <ACE_SYNCH_DECL>
-class ACE_Thru_Task : public ACE_Task<ACE_SYNCH_USE>
+template <ACE_SYNCH_DECL, class TIME_POLICY = ACE_System_Time_Policy>
+class ACE_Thru_Task : public ACE_Task<ACE_SYNCH_USE, TIME_POLICY>
{
public:
/// Construction
ACE_Thru_Task (void);
/// Destruction
- ~ACE_Thru_Task (void);
+ virtual ~ACE_Thru_Task (void);
// = ACE_Task hooks
virtual int open (void *a = 0);