_J

please call me j

导航

【MK Document】CMKResponseDecorator

/***********************************************************************
* 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

posted on 2012-09-03 11:04  _J  阅读(127)  评论(0编辑  收藏  举报