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
vrfmodel
aimAtPointController.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrfobjcore/controllerComponent.h
"
12
#include "
vrfmodel/vrfmodelDefines.h
"
13
14
class
DtVectorOutputPort
;
15
class
DtBooleanOutputPort
;
16
class
DtAnalogOutputPort
;
17
class
DtAimAtPointControllerPSR
;
18
22
class
DT_DLL_vrfmodel
DtAimAtPointController
:
public
DtControllerComponent
23
{
24
25
public
:
26
29
DtAimAtPointController
(
const
DtString
& name,
30
DtVrfObject
* owner,
31
DtSimManager
* simManager,
32
DtComponentDescriptor
* desc = 0,
33
DtReaderWriterRegistry
* parentRegistry = 0);
34
36
virtual
~
DtAimAtPointController
();
37
38
virtual
bool
init
();
39
42
virtual
const
char
*
type
()
const
;
43
44
virtual
void
tick
();
45
47
static
void
setAimingPointCallback(
DtSimMessage
* msg,
void
* usr);
48
virtual
void
processSetAimingPoint(
DtSimMessage
* msg);
49
53
static
DtSimComponent
* creator(
const
DtString
& name,
54
DtVrfObject
* owner,
55
DtSimManager
* simManager,
56
DtComponentDescriptor
* desc = 0,
57
DtReaderWriterRegistry
* parentRegistry = 0);
58
59
protected
:
60
62
virtual
bool
createPorts
();
63
65
virtual
bool
createPortGroups
();
66
67
virtual
DtAimAtPointControllerPSR
* createPSR();
68
69
private
:
70
72
DtAimAtPointController
();
73
75
DtAimAtPointController
(
const
76
DtAimAtPointController
& orig);
77
79
const
DtAimAtPointController
&
operator=
(
80
const
DtAimAtPointController
& orig);
81
82
83
protected
:
84
85
DtAimAtPointControllerPSR
*
myProcessState
;
86
88
89
92
DtOutputPortGroup
*
myAimWeaponControlPortGroup
;
93
98
DtVectorOutputPort
*
myAimPointPort
;
99
105
DtBooleanOutputPort
*
myAimAtAnglePort
;
106
111
DtAnalogOutputPort
*
myAimAzimuthPort
;
112
117
DtAnalogOutputPort
*
myAimElevationPort
;
118
126
DtBooleanOutputPort
*
myForbidBaseRotationPort
;
127
129
};
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
)