VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfutil
rsrcFactory.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: rsrcFactory.h,v $ $Revision: 1.7 $ $State: Exp $
7
*******************************************************************************/
8
11
17
18
#ifndef DtSimResourceFactory_H_
19
#define DtSimResourceFactory_H_
20
21
#include <vlutil/vlHashlist.h>
22
23
class
DtSimResourceFactoryEntry
;
24
class
DtReaderWriterRegistry
;
25
class
DtSimResource
;
26
27
typedef
DtSimResource
* (*DtSimResourceCreatorFcn)();
28
35
36
#include "
vrfutil/vrfutilDefines.h
"
37
class
DT_DLL_vrfutil
DtSimResourceFactory
:
public
DtHashlist
38
{
39
public
:
41
DtSimResourceFactory
();
42
44
DtSimResourceFactory
(
const
DtSimResourceFactory
& orig);
45
47
const
DtSimResourceFactory
& operator=(
const
DtSimResourceFactory
& orig);
48
50
virtual
~
DtSimResourceFactory
();
51
53
virtual
void
addCreatorFcn(
const
DtString
& type,
54
DtSimResourceCreatorFcn
fcn);
55
57
virtual
DtSimResource
* createResource(
const
DtString
& type);
58
60
static
DtSimResourceFactory
* create();
61
62
};
63
64
#endif
65
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)