VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfobjparam
weaponControllerDescriptor.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: weaponCtlDesc.h,v $ $Revision: 1.7 $ $State: Exp $
7
*******************************************************************************/
8
11
14
15
#ifndef DtWeaponControllerDescriptor_H_
16
#define DtWeaponControllerDescriptor_H_
17
18
#include "
vrfobjparam/baseWeaponControllerDescriptor.h
"
19
#include "
vrfobjparam/ammoSelectTable.h
"
20
#include "
vrfobjparam/targetSelectionCriteria.h
"
21
#include "
vrfutil/simClock.h
"
22
27
#include "
vrfobjparam/vrfobjparamDefines.h
"
28
class
DT_DLL_vrfobjparam
DtWeaponControllerDescriptor
:
public
DtBaseWeaponControllerDescriptor
29
{
30
public
:
32
DtWeaponControllerDescriptor
(
const
DtString
& name,
33
DtReaderWriterRegistry
* parentRegistry = 0);
34
36
DtWeaponControllerDescriptor
(
const
DtWeaponControllerDescriptor
&
37
orig,
DtReaderWriterRegistry
* parentRegistry = 0);
38
40
DtWeaponControllerDescriptor
&
operator=
(
const
41
DtWeaponControllerDescriptor
& orig);
42
44
virtual
~
DtWeaponControllerDescriptor
();
45
48
virtual
DtString
type
()
const
;
49
50
virtual
DtComponentDescriptor
*
clone
(
DtReaderWriterRegistry
* parentRegistry
51
= 0)
const
;
52
53
56
virtual
const
DtAmmoSelectTable
& ammoSelectTable()
const
;
57
virtual
void
setAmmoSelectTable(
const
DtAmmoSelectTable
& table);
59
62
virtual
void
setAmmoSelectTableFilename(
const
DtString
& filename);
63
virtual
const
DtString
& ammoSelectTableFilename();
65
68
virtual
const
DtString
& rangeName()
const
;
69
virtual
void
setRangeName(
const
DtString
& rangeName);
71
73
74
virtual
DtTargetSelectionCriteria
& targetSelectionCriteria();
75
virtual
const
DtTargetSelectionCriteria
& targetSelectionCriteria()
const
;
77
79
static
DtComponentDescriptor
*
creator
();
80
81
protected
:
83
DtWeaponControllerDescriptor
();
84
85
protected
:
86
90
94
DtReaderWriterFile
myAmmoSelectTableFile
;
95
100
DtAmmoSelectTable
myAmmoSelectTable
;
101
106
DtRwString
myRangeName
;
107
113
DtTargetSelectionCriteria
myTargetSelectionCriteria
;
114
116
};
117
118
#endif
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)