diff options
Diffstat (limited to 'ACE/ace/Functor.h')
-rw-r--r-- | ACE/ace/Functor.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ACE/ace/Functor.h b/ACE/ace/Functor.h index f303bc09c97..7edcae7174c 100644 --- a/ACE/ace/Functor.h +++ b/ACE/ace/Functor.h @@ -77,6 +77,23 @@ public: virtual int execute (void *arg = 0) = 0; }; +/** + * @class ACE_Noop_Command + * + * Implements a ACE_Command_Base with an empty execute() body. + */ + +class ACE_Export ACE_Noop_Command + : public ACE_Command_Base +{ +public: + /// Constructor + ACE_Noop_Command(); + + /// Implement the empty execute() member function + virtual int execute(void*); +}; + //////////////////////////////////////////////////////////// // STL-style Functor Classes and Template Specializations // //////////////////////////////////////////////////////////// |