<<< Abstract Maze Factory Sample | Index | Abstract Factory UML Example >>> |
The Abstract Factory ( download ) sample illustrates runtime "call dispatch" mechanism for
Wall* MazeFactory::MakeWall(); Wall* BombedMazeFactory::MakeWall();
In summary,
MazeFactory::MakeWall( ) is an abstract operation (that is, virtual function in C++.)
MazeFactory and BombedMazeFactory are two concrete suppliers of
Wall
BombedWall
<<< Abstract Maze Factory Sample | Index | Abstract Factory UML Example >>> |