VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setAimLaserLightRequest.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 
41 {
42 
43 public:
44 
47 
50  DtSetAimLaserLightRequest(const DtString & writeName,
51  DtReaderWriterRegistry * parentRegistry = 0);
52 
55  orig, DtReaderWriterRegistry * parentRegistry = 0);
56 
59 
60  virtual ~DtSetAimLaserLightRequest() override;
61 
63  virtual const DtSetMessageType& type() const override;
64 
66  virtual DtSetDataRequest* clone(const DtString& name, DtReaderWriterRegistry* parentRegistry = 0) const override;
67 
69  virtual DtString stringRep() const override;
70 
72  virtual double spread() const;
73  virtual void setSpread(double spread);
74 
76  virtual double wavelength() const;
77  virtual void setWavelength(double wavelength);
78 
80  virtual int signal() const;
81  virtual void setSignal(int type);
82 
85  virtual int netRepSize() const override;
86 
88  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize) override;
89 
92  virtual bool setToNet() override;
93 
94  static DtSetDataRequest * creator();
95 
96 protected:
97 
101 
102 };
DtRwInt mySignal
Definition: setAimLaserLightRequest.h:100
static DtSetDataRequest * creator()
virtual bool setToNet() override
Fills in the network buffer (created by base class simTask) with the task contents.
virtual DtString stringRep() const override
Get a readable string representation of this setDataRequest.
Definition: readerWriterRegistry.h:39
DtSetAimSensorRequest is used to set the location at which an entity should aim its sensor...
Definition: setAimSensorRequest.h:42
virtual const DtSetMessageType & type() const override
Returns DtSetAimSensorRequestType.
virtual DtSetDataRequest * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const override
Creates a copy of the request.
DtSetDataRequest is an abstract base class from which real setDataRequests can derive. It manages the read/write capability; derived classes need only use and register read/writatble data types for derived information.
Definition: setDataRequest.h:41
DtSetAimLaserLightRequest is used to set the location at which an entity should aim its laser light...
Definition: setAimLaserLightRequest.h:40
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize) override
Fills in the task from the network buffer.
Description: Readable, Writable int.
Definition: rwInt.h:25
const DtSetAimSensorRequest & operator=(const DtSetAimSensorRequest &orig)
assignment operator
virtual int netRepSize() const override
Returns the size of the full network representation padded to an 8-byte boundary. ...
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwReal mySpread
Definition: setAimLaserLightRequest.h:98
DtRwReal myWavelength
Definition: setAimLaserLightRequest.h:99

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)