diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-10-21 21:41:34 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-10-21 21:41:34 +0000 |
commit | a5fdebc5f6375078ec1763850a4ca23ec7fe6458 (patch) | |
tree | bcf0a25c3d45a209a6e3ac37b233a4812f29c732 /ace/Method_Object.h | |
download | ATCD-a5fdebc5f6375078ec1763850a4ca23ec7fe6458.tar.gz |
Initial revision
Diffstat (limited to 'ace/Method_Object.h')
-rw-r--r-- | ace/Method_Object.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/ace/Method_Object.h b/ace/Method_Object.h new file mode 100644 index 00000000000..49daaff39d5 --- /dev/null +++ b/ace/Method_Object.h @@ -0,0 +1,43 @@ +/* -*- C++ -*- */ +// $Id$ + + +// ============================================================================ +// +// = LIBRARY +// ace +// +// = FILENAME +// Method_Object.h +// +// = AUTHOR +// Andres Kruse <Andres.Kruse@cern.ch> and Douglas C. Schmidt +// <schmidt@cs.wustl.edu> +// +// ============================================================================ + +#if !defined (ACE_METHOD_OBJECT_H) +#define ACE_METHOD_OBJECT_H + +#include "ace/OS.h" + +class ACE_Export ACE_Method_Object + // = TITLE + // Reifies a method into an object. Subclasses typically + // represent necessary state and behavior. + // + // = DESCRIPTION + // A <Method_Object> is inserted in the <Activation_Queue>, where + // it is subsequently removed by the <Scheduler> and invoked. +{ +public: + // = Initialization and termination methods. + ACE_Method_Object (void); + virtual ~ACE_Method_Object (void); + + // = Invocation method + virtual int call (void) = 0; + // Invoked when the <Method_Object> is scheduled to run. +}; + +#endif /* ACE_METHOD_OBJECT_H */ |