VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simComponentFactory.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 #pragma once
15 
16 #include <vlutil/vlHashlist.h>
17 
20 class DtSimComponent;
21 class DtSimManager;
23 class DtVrfObject;
24 
25 typedef DtSimComponent* (*DtSimComponentCreatorFcn)(const DtString& name,
28 
36 class DT_DLL_vrfobjcore DtSimComponentFactory : public DtHashlist
37 {
38 public:
41 
44 
46  const DtSimComponentFactory& operator=(const DtSimComponentFactory& orig);
47 
49  virtual ~DtSimComponentFactory();
50 
52  virtual void addCreatorFcn(const DtString& type,
54 
55  virtual DtSimComponent* createComponent(
56  const DtString& name, const DtString& type, DtVrfObject* owner,
57  DtSimManager* simManager, DtComponentDescriptor* compDesc,
58  DtReaderWriterRegistry* registry = 0);
59 
60  static DtSimComponentFactory* create();
61 
62 protected:
63 
64 };
65 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)