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 
48 
50  virtual const DtSetMessageType& type() const;
51 
53  virtual DtSetDataRequest * clone(const DtString & name,
54  DtReaderWriterRegistry * parentRegistry = 0) const;
55 
57  virtual DtString stringRep() const;
58 
60 
61  virtual DtArtPartType artPartType() const;
62  virtual void setArtPartType(DtArtPartType partType);
64 
66 
67  virtual const bool isEnabled() const;
68  virtual void setEnabled(const bool enabled);
70 
73  virtual int netRepSize() const;
74 
76  virtual bool setFromNet(const char* contentBuffer,
77  unsigned contentSize);
78 
81  virtual bool setToNet();
82 
83  static DtSetDataRequest* creator();
84 
85 protected:
86 
89 
90 };
91 
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:87
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:88
DtSetRefuelPointEnabledRequest is used to set the state of an refueling boom or drogue articulated pa...
Definition: setRefuelPointEnabledRequest.h:26

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)