diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2008-03-04 13:56:48 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2008-03-04 13:56:48 +0000 |
commit | dab6095386e31ea8302e88bb53b4735c6304e8c5 (patch) | |
tree | 1816ef391e42a07929304908ac0e21f4c2f6cb7b /ACE/ace/Notification_Strategy.h | |
parent | 10ba54018c6ad1e7c316595158b998f55f0abcf8 (diff) | |
download | ATCD-dab6095386e31ea8302e88bb53b4735c6304e8c5.tar.gz |
swap in externals for ACE and TAO
Diffstat (limited to 'ACE/ace/Notification_Strategy.h')
-rw-r--r-- | ACE/ace/Notification_Strategy.h | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/ACE/ace/Notification_Strategy.h b/ACE/ace/Notification_Strategy.h deleted file mode 100644 index 5fe5d836c05..00000000000 --- a/ACE/ace/Notification_Strategy.h +++ /dev/null @@ -1,75 +0,0 @@ -// -*- C++ -*- - -//============================================================================= -/** - * @file Notification_Strategy.h - * - * $Id$ - * - * @author Doug Schmidt - */ -//============================================================================= -#ifndef ACE_NOTIFICATION_STRATEGY_H -#define ACE_NOTIFICATION_STRATEGY_H -#include /**/ "ace/pre.h" - -#include "ace/Event_Handler.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -// Forward decls. -class ACE_Reactor; - -/** - * @class ACE_Notification_Strategy - * - * @brief Abstract class used for notifying an interested party - * - * A vehicle for extending the behavior of ACE_Message_Queue wrt - * notification *without subclassing*. Thus, it's an example of - * the Bridge/Strategy patterns. - */ -class ACE_Export ACE_Notification_Strategy -{ -public: - /// Constructor. - ACE_Notification_Strategy (ACE_Event_Handler *eh, ACE_Reactor_Mask mask); - - /// Destructor. - virtual ~ACE_Notification_Strategy (void); - - virtual int notify (void) = 0; - virtual int notify (ACE_Event_Handler *, ACE_Reactor_Mask mask) = 0; - - /// Get the event handler. - ACE_Event_Handler *event_handler (void); - - /// Set the event handler. - void event_handler (ACE_Event_Handler *eh); - - /// Get the reactor mask. - ACE_Reactor_Mask mask (void) const; - - /// Set the reactor mask. - void mask (ACE_Reactor_Mask m); - -protected: - /// The event handler. - ACE_Event_Handler *eh_; - - /// The reactor mask. - ACE_Reactor_Mask mask_; -}; - -ACE_END_VERSIONED_NAMESPACE_DECL - -#if defined (__ACE_INLINE__) -#include "ace/Notification_Strategy.inl" -#endif /* __ACE_INLINE __ */ - -#include /**/ "ace/post.h" -#endif /*ACE_NOTIFICATION_STRATEGY_H */ |