/////////////////////////////////////////////////////////////////////// // Implementor.cpp - implements Concrete implementors interface // // // // Skeleton for the BRIDGE PATTERN // // Participants : Abstraction, Refined Abstractions, // // Implementor, Concrete implementors // // // // ver 1.0 // // Language: Visual C++, ver 6.0, // // Platform: Dell XPS1000r, Windows 2000 Professional // // Author: Jim Fawcett, CST 2-187, Syracuse Univ. // // Source: // // Ivan Bernal/Wang Xiaoqiang // // imbernal@syr.edu // // CSE791 - Design Patterns, Summer 2000 // /////////////////////////////////////////////////////////////////////// #include "Implementor.h" #include using namespace std; void ConcreteImplementorA::OperationImp( void ) { cout << "\n Invoking OperationImp() in ConcreteImplementorA."; } void ConcreteImplementorB::OperationImp( void ) { cout << "\n Invoking OperationImp() in ConcreteImplementorB."; }