VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
underFireDeterminationSensor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 class DtSimMessage;
14 class DtSimRadio;
15 
16 
18 #include "vrfobjcore/fireContext.h"
20 
34 {
35 
36 public:
37 
41  DtVrfObject* owner,
42  DtSimManager* simManager,
43  DtComponentDescriptor* desc = NULL,
44  DtReaderWriterRegistry* parentRegistry = NULL);
45 
49 
54  virtual bool init();
55 
63  static bool processFireCallback(const DtFireContext& fireContext, void* usr);
64 
68  virtual bool determineUnderFire(const DtFireContext& fireContext);
69 
72  virtual DtString type() const;
73 
75  virtual void tick();
76 
79  virtual bool tickWhileDestroyed() const;
80 
84  static DtSimComponent * creator(const DtString& name,
85  DtVrfObject* owner,
86  DtSimManager* simManager,
87  DtComponentDescriptor* desc = 0,
88  DtReaderWriterRegistry* parentRegistry = 0);
89 
90 protected:
91 
93  virtual bool registerForFireNotifications();
94 
96  virtual bool unregisterForFireNotifications();
97 
101  virtual bool isRegisteredForFireNotifications();
102  virtual void setIsRegisteredForFireNotifications(bool yesOrNo);
104 
106  virtual void setUnderFire(const DtFireContext& fireContext);
107 
109  virtual void clearUnderFire();
110 
111 private:
114 
117 
120 
121 protected:
122 
124 
125 private:
127 };
128 
129 

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)