VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
activeSonarSensorPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: activeSonarSensorPSR.h,v $ $Revision: 1.3 $ $State: Exp $
7 *******************************************************************************/
8 
9 #pragma once
10 
12 #include <readerWriter/rwBoolean.h>
13 
16 
20 #include <readerWriter/rwString.h>
22 {
23 public:
24 
27  const DtString& rwName = DtString::nullString(),
28  DtReaderWriterRegistry* parentRegistry = 0);
29 
32  const DtString& rwName = DtString::nullString(),
33  DtReaderWriterRegistry* parentRegistry = 0);
34 
36  virtual ~DtActiveSonarSensorPSR();
37 
40 
43  const DtString& rwName = DtString::nullString(),
44  DtReaderWriterRegistry* parentRegistry = 0) const;
45 
47  virtual DtString type() const;
48 
50  virtual void setNextDetectAttempt(DtTime time);
51  virtual DtTime nextDetectAttempt() const;
52 
53  virtual DtString activeSonarMode() const;
54  virtual void setActiveSonarMode(const DtString& mode);
55  virtual bool activeSonarModeSpecified() const;
56 
58  static DtVrfProcessStateRepository* creator (const DtString& rwName,
59  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
60 
61 protected:
62 
64 
67 };
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
Process State Repository for the DtPassiveRadarSensor component.
Definition: passiveSonarSensorPSR.h:16
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const
returns a newly created copy of this object
virtual void setNextDetectAttempt(DtTime time)
Simulation time of next detection attempt (in seconds).
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwString myActiveSonarMode
Definition: activeSonarSensorPSR.h:63
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories. Process state repositories represent (potentially) shared, savable information for one or more components functioning together to achieve some process or set of processes; such as aiming and firing a weapon; moving an object; or just waiting a specified amount of time.
Definition: vrfProcessStateRepository.h:45
const char int mode
Definition: ioapi.h:38
DtPassiveSonarSensorPSR & operator=(const DtPassiveSonarSensorPSR &orig)
assignment operator - not implemented
virtual DtTime nextDetectAttempt() const
static DtVrfProcessStateRepository * creator(const DtString &rwName, DtLocalObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
Returns a newly created instance of this class.
Process State Repository for the DtActiveSonarSensor component.
Definition: activeSonarSensorPSR.h:21
virtual DtString type() const
DtRwReal myNextDetectAttempt
Simulation time of next detection attempt (seconds).
Definition: activeSonarSensorPSR.h:66
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)