summaryrefslogtreecommitdiff
path: root/ace/Functor.cpp
diff options
context:
space:
mode:
authorcdgill <cdgill@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-07 14:28:32 +0000
committercdgill <cdgill@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-07 14:28:32 +0000
commitfbf4de5bc53991c2ad05d4e9e5cd378d616e31bc (patch)
tree52bd8018782fe78f31837d97009d6462775c2866 /ace/Functor.cpp
parent6794e5506d0a2d85bf9744e43afb2ff2df7988b2 (diff)
downloadATCD-fbf4de5bc53991c2ad05d4e9e5cd378d616e31bc.tar.gz
Added ACE_Command_Base and ACE_Command_Callback, added deferred callbacks to ACE_Thread_Timer_Queue_Adapter
Diffstat (limited to 'ace/Functor.cpp')
-rw-r--r--ace/Functor.cpp48
1 files changed, 48 insertions, 0 deletions
diff --git a/ace/Functor.cpp b/ace/Functor.cpp
new file mode 100644
index 00000000000..19ae2603122
--- /dev/null
+++ b/ace/Functor.cpp
@@ -0,0 +1,48 @@
+/* -*- C++ -*- */
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// ace
+//
+// = FILENAME
+// Functor.cpp
+//
+// = DESCRIPTION
+// Non-inlinable method definitions for non-templatized classes
+// implementing the GOF Command Pattern, also known as functors
+// or function objects.
+//
+// = AUTHOR
+// Chris Gill <cdgill@cs.wustl.edu>
+//
+// Based on Command Pattern implementations originally done by
+//
+// Carlos O'Ryan <coryan@cs.wustl.edu> and
+// Douglas C. Schmidt <schmidt@cs.wustl.edu> and
+// Sergio Flores-Gaitan <sergio@cs.wustl.edu>
+//
+// ============================================================================
+
+#if !defined (ACE_FUNCTOR_C)
+#define ACE_FUNCTOR_C
+
+#define ACE_BUILD_DLL
+#include "ace/Functor_T.h"
+#include "ace/Functor.h"
+
+#if !defined (__ACE_INLINE__)
+#include "ace/Functor.i"
+#endif /* __ACE_INLINE__ */
+
+ACE_RCSID(ace, Functor, "$Id$")
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+#endif /* ACE_FUNCTOR_C */
+
+// EOF
+