VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setEmergencyBeacon.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
17 
18 #include <vlutil/vlNetTypes.h>
19 
21 #include <readerWriter/rwBoolean.h>
22 #include <vlpi/disEnums.h>
23 
24 
25 
28 {
29  DtNetBoolean myOn;
30 };
31 
36 {
37 
38 public:
39 
42 
45  DtSetEmergencyBeaconRequest(const DtString & writeName,
46  DtReaderWriterRegistry * parentRegistry = 0);
47 
50  orig, DtReaderWriterRegistry * parentRegistry = 0);
51 
54 
55  virtual ~DtSetEmergencyBeaconRequest();
56 
58  virtual const DtSetMessageType& type() const;
59 
60  virtual void setOn(bool onOff);
61  virtual bool on() const;
62 
64  virtual DtSetDataRequest * clone(const DtString & name,
65  DtReaderWriterRegistry * parentRegistry = 0) const;
66 
68  virtual DtString stringRep() const;
69 
71  virtual int netRepSize() const;
72 
74  virtual bool setFromNet(const char* contentBuffer,
75  unsigned contentSize);
76 
79  virtual bool setToNet();
80 
81  static DtSetDataRequest * creator();
82 
83 protected:
85 };
86 #pragma once
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...
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...
DtRwBoolean myOn
Definition: setEmergencyBeacon.h:84
#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...
File: setEmergencyBeacon.h.
Definition: setEmergencyBeacon.h:27
DtNetBoolean myOn
Definition: setEmergencyBeacon.h:29
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtSetEmergencyBeaconRequest is used to turn on and off DtEmergencyBeaconComponents installed on entit...
Definition: setEmergencyBeacon.h:35

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)