VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfobjcore
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
18
class
DtSimComponentFactoryEntry
;
19
class
DtReaderWriterRegistry
;
20
class
DtSimComponent
;
21
class
DtSimManager
;
22
class
DtComponentDescriptor
;
23
class
DtVrfObject
;
24
25
typedef
DtSimComponent
* (*DtSimComponentCreatorFcn)(
const
DtString
&
name
,
26
DtVrfObject
* owner,
DtSimManager
*
simManager
,
27
DtComponentDescriptor
* compDescriptor,
DtReaderWriterRegistry
*
registry
);
28
35
#include "
vrfobjcore/vrfobjcoreDefines.h
"
36
class
DT_DLL_vrfobjcore
DtSimComponentFactory
:
public
DtHashlist
37
{
38
public
:
40
DtSimComponentFactory
();
41
43
DtSimComponentFactory
(
const
DtSimComponentFactory
& orig);
44
46
const
DtSimComponentFactory
& operator=(
const
DtSimComponentFactory
& orig);
47
49
virtual
~
DtSimComponentFactory
();
50
52
virtual
void
addCreatorFcn(
const
DtString
& type,
53
DtSimComponentCreatorFcn
fcn);
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
)