VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
beaconRadarObjectSensor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #include "vrfmodel/objectSensor.h"
13 
14 class DtReflectedIff;
15 
22 {
23 public:
24 
28  DtVrfObject* owner,
29  DtSimManager* simManager,
30  DtComponentDescriptor* desc = 0,
31  DtReaderWriterRegistry* parentRegistry = 0);
32 
35  virtual bool detectObject(const DtVrfObject* object,
36  DtRwSensorContactInfo* contactInfo);
37 
41  DtRwSensorContactInfo* contactInfo, bool& contactInfoModified);
42 
45  virtual const char* type() const;
46 
48  virtual int sensorType() const;
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:
61  virtual bool detectIff(const DtReflectedIff& iff) const;
62 
65  virtual bool updateSensorContactInfo(
66  const DtVrfObject* object,
67  DtRwSensorContactInfo* contactInfo);
68 };
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
virtual int sensorType() const
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
This class represents the data gathered by a sensor about a particular single sensor contact...
Definition: rwSensorContactInfo.h:67
virtual bool detectObject(const DtVrfObject *object, DtRwSensorContactInfo *contactInfo)
DtObjectSensor is a base level sensor component.
Definition: objectSensor.h:50
virtual ContinueDetectingResult continueDetectingObject(const DtVrfObject *object, DtRwSensorContactInfo *contactInfo, bool &contactInfoModified)
ContinueDetectingResult
Definition: objectSensor.h:66
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
virtual const char * type() const
Returns a string identifies the class type of component.
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
DtBeaconRadarObjectSensor; A version of DtObjectSensor that senses entities with IFF.
Definition: beaconRadarObjectSensor.h:21

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)