VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtModelParserFactory.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
14 
15 #include <map>
16 #include <string>
17 
18 namespace makVrv
19 {
20  class DtDe;
21  class DtModelParser;
22  class PrModelParserCreator;
23  class DtModel;
24 
28  {
29  public:
30 
32  static DtModelParserFactory& instance(DtDe&);
33 
35  virtual ~DtModelParserFactory();
36 
43  virtual void registerParserCreator(const std::string& parserFormat,
44  PrModelParserCreator* creator);
45 
47  virtual void destroyParserCreator(const std::string& parserFormat);
48 
51  virtual DtModelParser* createParser(const std::string& parser,
52  DtModel& model);
53 
54  protected:
58 
59  typedef std::map<std::string,PrModelParserCreator*> CreatorMap;
61  };
62 }
63 

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)