You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#pragma once
|
|
|
|
|
#include "SmartPtr.h"
|
|
|
|
|
#include "WorkCmd.h"
|
|
|
|
|
|
|
|
|
|
//<2F><><EFBFBD>浱ǰҪִ<D2AA>е<EFBFBD>ָ<EFBFBD><D6B8>(ȫ<><C8AB>)
|
|
|
|
|
class CWorkCmdContainer
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
CWorkCmdContainer(void);
|
|
|
|
|
~CWorkCmdContainer(void);
|
|
|
|
|
static CWorkCmdContainer &GetInstance(){return m_Instance;};
|
|
|
|
|
void AddCmd(CWorkCmd *p);
|
|
|
|
|
int GetCmdCnt(){return m_WorkCmdVec.size();};//ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
vector<Sptr<CWorkCmd>> &GetContainer(){return m_WorkCmdVec;};
|
|
|
|
|
void Clear(){m_WorkCmdVec.clear();};
|
|
|
|
|
private:
|
|
|
|
|
static CWorkCmdContainer m_Instance;
|
|
|
|
|
vector<Sptr<CWorkCmd>> m_WorkCmdVec;//<2F><><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
};
|
|
|
|
|
|