/***********************************************************************
* Module: CMKResponseDecorator.h
* Author: JStone
* Modified: 2012年9月3日 10:11:11
* Purpose: Declaration of the class CMKResponseDecorator
***********************************************************************/
#if !defined(__MKFramework_CMKResponseDecorator_h)
#define __MKFramework_CMKResponseDecorator_h
#include "CMKResponse.h"
class CMKResponseDecorator : public CMKResponse
{
public:
CMKResponseDecorator(const CMKResponse& obj);
CMKResponseDecorator(const CMKObject* parent);
CMKResponseDecorator();
CMKResponseDecorator(CMKCommand* com);
CMKResponseDecorator(CMKResponse* com);
virtual ~CMKResponseDecorator();
/* core operation */
virtual CMKObject* excute(void) const;
protected:
CMKObject* _ComponentResponse(void);
virtual void _Action(void) const;
private:
mutable CMKObject* m_pComponentResponse;
};
#endif