VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
spawnObjectWarheadActuator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 
14 
17 
22 {
23 public:
24 
25  //constructor
27  DtSimManager* simManager, DtComponentDescriptor* compDescriptor,
28  DtReaderWriterRegistry* parentRegistry = 0);
29 
30  //destructor
32 
33  //Perform any initialization required by the actuator
34  virtual bool init();
35 
36  //Returns a string from compTypes.h, identifying the type of component
37  virtual const char* type() const;
38 
41  virtual void sendDetonation(DtVrfObject *impactedEntity,
42  const DtVector& detonLocation);
43 
46  virtual void sendDetonation(DtDetonationResult result,
47  const DtVector& collisionPt);
48 
49 public:
50 
51  //Creator function to be registered with the DtSimComponentFactory --
52  //see main.cxx
53  static DtSimComponent* creator(const DtString& name, DtVrfObject* object,
54  DtSimManager* simManager, DtComponentDescriptor* compDescriptor,
55  DtReaderWriterRegistry* parentRegistry);
56 
57 protected:
59 
60 };
61 
62 

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)