From 714ddfc6970bd20d957e19013a15cb4db7e9064e Mon Sep 17 00:00:00 2001 From: schmidt Date: Sat, 17 Oct 1998 22:19:17 +0000 Subject: . --- ace/Method_Request.h | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 ace/Method_Request.h (limited to 'ace/Method_Request.h') diff --git a/ace/Method_Request.h b/ace/Method_Request.h new file mode 100644 index 00000000000..23c0653fc13 --- /dev/null +++ b/ace/Method_Request.h @@ -0,0 +1,46 @@ +/* -*- C++ -*- */ +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// ace +// +// = FILENAME +// Method_Request.h +// +// = AUTHOR +// Andres Kruse and Douglas C. Schmidt +// +// +// ============================================================================ + +#ifndef ACE_METHOD_OBJECT_H +#define ACE_METHOD_OBJECT_H + +#include "ace/OS.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +#pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +class ACE_Export ACE_Method_Request +{ + // = TITLE + // Reifies a method into an object. Subclasses typically + // represent necessary state and behavior. + // + // = DESCRIPTION + // A is inserted in the , where + // it is subsequently removed by the and invoked. +public: + // = Initialization and termination methods. + ACE_Method_Request (void); + virtual ~ACE_Method_Request (void); + + // = Invocation method + virtual int call (void) = 0; + // Invoked when the is scheduled to run. +}; + +#endif /* ACE_METHOD_OBJECT_H */ -- cgit v1.2.1