VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
compFactory.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 Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)