diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-07-01 16:18:56 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-07-01 16:18:56 +0000 |
commit | 6803d545979635f9fc0fb817b1e0841e69a96472 (patch) | |
tree | 74eb2aa0844bc54028da8dc9704fb6eac45322c0 /ace/Functor_T.cpp | |
parent | c0cc5f64b0e435e8603e6a47161d166e4140a49d (diff) | |
download | ATCD-TAO-1_1_18.tar.gz |
This commit was manufactured by cvs2svn to create tag 'TAO-1_1_18'.TAO-1_1_18
Diffstat (limited to 'ace/Functor_T.cpp')
-rw-r--r-- | ace/Functor_T.cpp | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/ace/Functor_T.cpp b/ace/Functor_T.cpp deleted file mode 100644 index 73b183d0fd3..00000000000 --- a/ace/Functor_T.cpp +++ /dev/null @@ -1,49 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -#ifndef ACE_FUNCTOR_T_C -#define ACE_FUNCTOR_T_C - -#include "ace/Functor_T.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#if !defined (__ACE_INLINE__) -#include "ace/Functor_T.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(ace, Functor_T, "$Id$") - -ACE_ALLOC_HOOK_DEFINE(ACE_Command_Callback) - -/////////////////////////////////// -// GOF Command Pattern Templates // -/////////////////////////////////// - -// Constructor. - -template <class RECEIVER, class ACTION> -ACE_Command_Callback<RECEIVER, ACTION>::ACE_Command_Callback (RECEIVER &recvr, - ACTION action) - : receiver_ (recvr), - action_ (action) -{ -} - -template <class RECEIVER, class ACTION> -ACE_Command_Callback<RECEIVER, ACTION>::~ACE_Command_Callback (void) -{ -} - -// Invokes an operation. - -template <class RECEIVER, class ACTION> int -ACE_Command_Callback<RECEIVER, ACTION>::execute (void *arg) -{ - return (receiver_.*action_) (arg); -} - - -#endif /* ACE_FUNCTOR_T_C */ |