VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtPropAdderFactory.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtPropAdderFactory.h,v $ $Revision: 1.1 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvCore/vrvCore.h>
17 #include <string>
18 #include <map>
19 
20 namespace makVrv
21 {
22 
23  class DtPropAdder;
24  class DtPropAdderCreator;
25  class DtAgentManagerInterface;
26  class DtDe;
27 
31  {
32  public:
34  static DtPropAdderFactory& instance(DtDe& de);
35 
38 
40  DtPropAdder* createAdder(const std::string& filename,
41  DtAgentManagerInterface& agentManagerInterface);
42 
44  void setAdderCreator(const std::string& extension,
45  DtPropAdderCreator* creator);
46 
47  protected:
49 
51  static std::string extractFileExtension( const std::string& fileToOpen );
52 
53  protected:
54 
55  typedef std::map<std::string,DtPropAdderCreator*> CreatorMap;
57  };
58 }

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)