C++ features by examples

encapsulates arguments. AKA Intent, operation. More...

Public Member Functions

virtual int execute ()
 

Detailed Description

encapsulates arguments. AKA Intent, operation.

Command pattern

https://refactoring.guru/design-patterns/command/cpp/example

Definition at line 416 of file patterns.cpp.

Member Function Documentation

◆ execute()

virtual int Command::execute ( )
inlinevirtual

Definition at line 424 of file patterns.cpp.

424{ return -1; };
Here is the caller graph for this function:

The documentation for this struct was generated from the following file: