VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setAimSearchLightRequest.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 
13 
41 {
42 
43 public:
44 
47 
50  DtSetAimSearchLightRequest(const DtString & writeName,
51  DtReaderWriterRegistry * parentRegistry = 0);
52 
55  orig, DtReaderWriterRegistry * parentRegistry = 0);
56 
59 
60  virtual ~DtSetAimSearchLightRequest() 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 
73  virtual double intensity() const;
74  virtual void setIntensity(double intensity);
75 
77  virtual double coneAngle() const;
78  virtual void setConeAngle(double coneAngle);
79 
82  virtual int netRepSize() const override;
83 
85  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize) override;
86 
89  virtual bool setToNet() override;
90 
91  static DtSetDataRequest * creator();
92 
93 protected:
94 
97 
98 };
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
DtSetAimSearchLightRequest is used to set the location at which an entity should aim its search light...
Definition: setAimSearchLightRequest.h:40
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
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize) override
Fills in the task from the network buffer.
DtRwReal myConeAngle
Definition: setAimSearchLightRequest.h:96
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 myIntensity
Definition: setAimSearchLightRequest.h:95

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)