VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setGroundVehicleLightingRequest.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
13 #include <readerWriter/rwBoolean.h>
16 
20 {
21 
22 public:
23 
26 
29  DtReaderWriterRegistry * parentRegistry = 0);
30 
33  orig, DtReaderWriterRegistry * parentRegistry = 0);
34 
37 
38  virtual ~DtSetGroundVehicleLightingRequest() override;
39 
41  virtual const DtSetMessageType& type() const override;
42 
44  virtual DtSetDataRequest * clone(const DtString& name, DtReaderWriterRegistry* parentRegistry = 0) const override;
45 
47  virtual DtString stringRep() const override;
48 
50  virtual bool leftIndicatorLightsOn() const;
51  virtual void setLeftIndicatorLightsOn(bool leftIndicatorLightsOn);
52  virtual bool leftIndicatorLightsOnSpecified() const;
53 
55  virtual bool rightIndicatorLightsOn() const;
56  virtual void setRightIndicatorLightsOn(bool rightIndicatorLightsOn);
57  virtual bool rightIndicatorLightsOnSpecified() const;
58 
60  virtual bool emergencyLightsOn() const;
61  virtual void setEmergencyLightsOn(bool emergencyLightsOn);
62  virtual bool emergencyLightsOnSpecified() const;
63 
65  virtual bool headLightsOn() const;
66  virtual void setHeadLightsOn(bool headLightsOn);
67  virtual bool headLightsOnSpecified() const;
68 
70  virtual bool tailLightsOn() const;
71  virtual void setTailLightsOn(bool tailLightsOn);
72  virtual bool tailLightsOnSpecified() const;
73 
75  virtual bool brakeLightsOn() const;
76  virtual void setBrakeLightsOn(bool brakeLightsOn);
77  virtual bool brakeLightsOnSpecified() const;
78 
80  virtual bool blackoutLightsOn() const;
81  virtual void setBlackoutLightsOn(bool blackoutLightsOn);
82  virtual bool blackoutLightsOnSpecified() const;
83 
85  virtual bool blackoutBrakeLightsOn() const;
86  virtual void setBlackoutBrakeLightsOn(bool blackoutBrakeLightsOn);
87  virtual bool blackoutBrakeLightsOnSpecified() const;
88 
90  virtual bool spotLightsOn() const;
91  virtual void setSpotLightsOn(bool spotLightsOn);
92  virtual bool spotLightsOnSpecified() const;
93 
95  virtual bool interiorLightsOn() const;
96  virtual void setInteriorLightsOn(bool interiorLightsOn);
97  virtual bool interiorLightsOnSpecified() const;
98 
101  virtual int netRepSize() const override;
102 
104  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize) override;
105 
107  virtual bool setToNet() override;
108 
109  static DtSetDataRequest * creator();
110 
111 protected:
112 
123 };
124 
125 
virtual bool setToNet()
Sets netRep buffer to the contents of this set request. Base class does nothing and returns true...
DtRwBoolean myRightIndicatorLightsOn
Definition: setGroundVehicleLightingRequest.h:114
Defines ReaderWriter classes for varying sized integers In most cases the DtRwInt class is the prefer...
DtRwBoolean myEmergencyLightsOn
Definition: setGroundVehicleLightingRequest.h:115
DtRwBoolean mySpotLightsOn
Definition: setGroundVehicleLightingRequest.h:121
Definition: readerWriterRegistry.h:39
virtual int netRepSize() const
DtRwBoolean myTailLightsOn
Definition: setGroundVehicleLightingRequest.h:117
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 const DtSetMessageType & type() const =0
What kind of setDataRequest am I? (from radioMsgTypes.h). Returns a string representing the kind of d...
virtual DtSetDataRequest * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this request. Returns a pointer to a newly created copy of this data request...
const DtSetDataRequest & operator=(const DtSetDataRequest &orig)
assignment operator; same as copy costructor.
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets the contents of this set request based on the network buffer. Base class does nothing and return...
Define constants for types of tasks, sets, admin messages, reports, and sim commands (all sent via ra...
DtRwBoolean myBrakeLightsOn
Definition: setGroundVehicleLightingRequest.h:118
DtRwBoolean myBlackoutBrakeLightsOn
Definition: setGroundVehicleLightingRequest.h:120
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
virtual DtString stringRep() const =0
Get a readable string representation of this setDataRequest. Returns a human readable string represen...
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwBoolean myBlackoutLightsOn
Definition: setGroundVehicleLightingRequest.h:119
DtRwBoolean myHeadLightsOn
Definition: setGroundVehicleLightingRequest.h:116
DtRwBoolean myLeftIndicatorLightsOn
Definition: setGroundVehicleLightingRequest.h:113
DtRwBoolean myInteriorLightsOn
Definition: setGroundVehicleLightingRequest.h:122
DtSetGroundVehicleLightingRequest sets advanced lighting settings for the specified object Supported ...
Definition: setGroundVehicleLightingRequest.h:19

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)