NAME

ACE_Command_Base - Defines an abstract class that allows us to invoke commands without knowing anything about the implementation.

SYNOPSIS

#include <ace/Functor.h>

class ACE_Command_Base { public: ACE_Command_Base (void); virtual ~ACE_Command_Base (void); virtual int execute (void *arg = 0) = 0; };

DESCRIPTION

Non-templatized classes for implementing the GOF Command Pattern, also known as functors or function objects.

Initialization and termination methods.

ACE_Command_Base (void);

virtual ~ACE_Command_Base (void);

virtual int execute (void *arg = 0) = 0;

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

LIBRARY

ace