VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
emergencyBeaconDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include "readerWriter/rwVector.h"
16 #include <readerWriter/rwBoolean.h>
18 
20 
27 {
28 public:
31  DtReaderWriterRegistry* parentRegistry = NULL);
33  DtReaderWriterRegistry* parentRegistry = NULL);
34 
37  DtReaderWriterRegistry* parentRegistry = NULL);
38 
42 
44  virtual ~DtEmergencyBeaconDescriptor() override;
45 
48  virtual DtString type() const override;
49 
50  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = NULL) const override;
51 
54 
57  virtual DtVector beaconLocation() const;
58  virtual void setBeaconLocation(const DtVector &location);
60 
63  virtual bool on() const;
64  virtual void setOn(bool onOff);
66 
69  virtual bool autoActivateInWater() const;
70  virtual void setAutoActivateInWater(bool onOff);
72 
75  virtual DtVrfRadioTransmitterParams& transmitterParams();
76  virtual const DtVrfRadioTransmitterParams& transmitterParams() const;
78 
79 protected:
83 
89 
94 
99 
106 
107 };
108 
DtVrfRadioTransmitterParams myTransmitterParams
Parameter Name: transmitter-params Parameter Description: Parameters for the publishing of a DIS/RPR ...
Definition: emergencyBeaconDescriptor.h:104
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
Definition: vrfRadioTransmitterParams.h:18
DtRwBoolean myAutoActivateInWater
Parameter Name: activate-on-water-contact Parameter Description: If beacon is in water should it act...
Definition: emergencyBeaconDescriptor.h:98
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
Definition: rwVector.h:23
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
static DtComponentDescriptor * creator()
Instances of DtEmergencyBeaconDescriptor are used to specify the parameters for a DtEmergencyBeaconCo...
Definition: emergencyBeaconDescriptor.h:26
DtRwBoolean myOn
Parameter Name: on-at-start Parameter Description: Beacon on-state at creation. Parameter Default Va...
Definition: emergencyBeaconDescriptor.h:93
DtRwVector myBeaconLocation
Parameter Name: beacon-location Parameter Description: Emitter system offset from entity in meters...
Definition: emergencyBeaconDescriptor.h:88
File: rwVector.h.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)