VR-Forces 4.5 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
vrfmodel
dieWhenHitActuator.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: myActuator.h,v $ $Revision: 167994 $ $State: Exp $
7
*******************************************************************************/
8
9
#pragma once
10
11
#include "
vrfobjcore/actuatorComponent.h
"
12
#include "
vrfmodel/vrfmodelDefines.h
"
13
14
class
DtDieWhenHitDescriptor
;
15
18
class
DT_DLL_vrfmodel
DtDieWhenHitActuator
:
public
DtActuatorComponent
19
{
20
public
:
21
22
//constructor
23
DtDieWhenHitActuator
(
const
DtString
& name,
DtVrfObject
*
object
,
24
DtSimManager
* simManager,
DtComponentDescriptor
* compDescriptor,
25
DtReaderWriterRegistry
* parentRegistry = 0);
26
27
//destructor
28
virtual
~
DtDieWhenHitActuator
();
29
30
//Perform any initialization required by the actuator
31
virtual
bool
init
();
32
33
//Returns a string from compTypes.h, identifying the type of component
34
virtual
const
char
*
type
()
const
;
35
36
//Calculate new kinematic state, and copy it to state repository
37
virtual
void
tick
();
38
39
protected
:
42
virtual
bool
isEmbarkationParent(
DtVrfObject
*
object
,
DtVrfObject
* parentObject);
43
44
public
:
45
static
DtSimComponent
* creator(
const
DtString
& name,
DtVrfObject
*
object
,
46
DtSimManager
* simManager,
DtComponentDescriptor
* compDescriptor,
47
DtReaderWriterRegistry
* parentRegistry);
48
49
protected
:
50
const
DtDieWhenHitDescriptor
*
myDieWhenHitDescriptor
;
51
};
52
53
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)