/* -*- C++ -*- */ // $Id$ // ============================================================================ // // = LIBRARY // ace // // = FILENAME // Method_Object.h // // = AUTHOR // Andres Kruse and Douglas C. Schmidt // // // ============================================================================ #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 is inserted in the , where // it is subsequently removed by the 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 is scheduled to run. }; #endif /* ACE_METHOD_OBJECT_H */