VR-Forces 4.5 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, DtDe& de);
52 
53  protected:
57 
58  typedef std::map<std::string, PrModelParserCreator*> CreatorMap;
60  };
61 }
62 

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)