AppCore
Loading...
Searching...
No Matches
EDrawObjectFactory.h
Go to the documentation of this file.
1#ifndef EDRAWOBJECTFACTORY_H
2#define EDRAWOBJECTFACTORY_H
3
4#include <vector>
5#include <string>
6
7#include "appcore/printertemplate/EMPrinterTemplate.h"
8
9namespace EM
10{
11 namespace PrinterTemplate
12 {
13 class EDrawObject;
14
20 {
21 public:
22 static EDrawObjectFactory* GetInstance();
23 std::vector<EDrawObject*> mEDrawObjectFactory;
24 void Clear();
25 virtual EDrawObject* CreateDrawObject( std::string name );
26 virtual void AddDrawObject( EDrawObject* name );
27
28 protected:
30 virtual ~EDrawObjectFactory();
31
32 private:
33 static EDrawObjectFactory* mGetInstance;
34 };
35 }
36}
37
38#endif
#define EMPRINTERTEMPLATE_API
Definition EMPrinterTemplate.h:9
design pattern
Definition EDrawObjectFactory.h:20
virtual EDrawObject * CreateDrawObject(std::string name)
std::vector< EDrawObject * > mEDrawObjectFactory
Definition EDrawObjectFactory.h:23
general draw object
Definition EDrawObject.h:30
SYSTEM INCLUDES.
Definition CardFacadeManagerXML.h:7