VR-Forces 5.0.2 Developer's Guide
 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;
23 class DtLocalObject;
24 
25 typedef DtSimComponent* (*DtSimComponentCreatorFcn)(const DtString& name,
26  DtLocalObject* owner, DtSimulationServices* simServices,
27  DtComponentDescriptor* compDescriptor, DtReaderWriterRegistry* registry);
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, DtLocalObject* owner,
57  DtSimulationServices* simServices, DtComponentDescriptor* compDesc,
58  DtReaderWriterRegistry* registry = 0);
59 
60  static DtSimComponentFactory* create();
61 
62 protected:
63 
64 };
65 
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
File: compFactEnt.h.
Definition: simComponentFactoryEntry.h:30
Definition: readerWriterRegistry.h:39
class DtSimComponentFactory:
Definition: simComponentFactory.h:36
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtSimComponent *(* DtSimComponentCreatorFcn)(const DtString &name, DtLocalObject *owner, DtSimulationServices *simServices, DtComponentDescriptor *compDescriptor, DtReaderWriterRegistry *registry)
Definition: simComponentFactory.h:25
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)