#ifndef REQUESTPRODUCT_H #define REQUESTPRODUCT_H ///////////////////////////////////////////////////////////////////////// // requestProduct.h - implements request method // // // // Demonstrates use of a worker class that implements part of an // // interface's methods. // // // // Jim Fawcett, CSE687 - Object Oriented Design, Spring 2001 // ///////////////////////////////////////////////////////////////////////// #include "replyProduct.h" class requestProduct { public: requestProduct(); ~requestProduct(); void Register(replyProduct *pReplyProduct); void request(const std::string &req); private: replyProduct *pReply; }; //----< register access to replyProduct >-------------------------------- inline void requestProduct::Register(replyProduct *pReplyProduct) { pReply = pReplyProduct; } #endif