VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
13 
15 
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:
51 };
52 
53 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)