class CCommand1 { static CCommand1* Create(...) { return new CCommand1(...); } protected: CCommand1(...); }