TouchVG framework
|
图形工厂接口的默认实现类 更多...
#include <spfactoryimpl.h>
Public 成员函数 | |
MgShapeFactoryImpl () | |
virtual | ~MgShapeFactoryImpl () |
virtual void | registerShape (int type, MgShape *(*creator)()) |
virtual MgShape * | createShape (int type) |
Private 属性 | |
std::map< int, MgShape *(*)()> | _shapeCreators |
图形工厂接口的默认实现类