VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setRefuelPointEnabledRequest.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include <readerWriter/rwString.h>
13 #include <vlutil/vlNetTypes.h>
14 #include <vrfutil/rwTemplatedMap.h>
16 
27 {
28 
29 public:
30 
33 
36  DtSetRefuelPointEnabledRequest(const DtString & writeName,
37  DtReaderWriterRegistry * parentRegistry = 0);
38 
40  DtSetRefuelPointEnabledRequest(const DtString & writeName,
41  const DtSetRefuelPointEnabledRequest & orig,
42  DtReaderWriterRegistry * parentRegistry = 0);
43 
46 
47  virtual ~DtSetRefuelPointEnabledRequest() override;
48 
50  virtual const DtSetMessageType& type() const override;
51 
53  virtual DtSetDataRequest * clone(const DtString& name, DtReaderWriterRegistry* parentRegistry = 0) const override;
54 
56  virtual DtString stringRep() const override;
57 
59 
60  virtual DtArtPartType artPartType() const;
61  virtual void setArtPartType(DtArtPartType partType);
63 
65 
66  virtual const bool isEnabled() const;
67  virtual void setEnabled(const bool enabled);
69 
72  virtual int netRepSize() const override;
73 
75  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize) override;
76 
79  virtual bool setToNet() override;
80 
81  static DtSetDataRequest* creator();
82 
83 protected:
84 
87 
88 };
89 
virtual bool setToNet()
Sets netRep buffer to the contents of this set request. Base class does nothing and returns true...
Definition: readerWriterRegistry.h:39
virtual int netRepSize() const
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...
Description: Readable, Writable int.
Definition: rwInt.h:25
DtRwInt myArtPartType
Definition: setRefuelPointEnabledRequest.h:85
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 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 myRefuelPointEnabled
Definition: setRefuelPointEnabledRequest.h:86
DtSetRefuelPointEnabledRequest is used to set the state of an refueling boom or drogue articulated pa...
Definition: setRefuelPointEnabledRequest.h:26

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)