VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setEngagementRulesRequest.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
17 
19 #include <readerWriter/rwString.h>
20 #include <vlutil/vlNetTypes.h>
21 
22 
26 {
28 };
29 
44 {
45 
46 public:
47 
50 
53  DtSetEngagementRulesRequest(const DtString & writeName,
54  DtReaderWriterRegistry * parentRegistry = 0);
55 
57  DtSetEngagementRulesRequest(const DtString & writeName, const
59  parentRegistry = 0);
60 
64 
65  virtual ~DtSetEngagementRulesRequest();
66 
68  virtual const DtSetMessageType& type() const;
69 
71  virtual DtSetDataRequest * clone(const DtString & name,
72  DtReaderWriterRegistry * parentRegistry = 0) const;
73 
75  virtual DtString stringRep() const;
76 
80  virtual const DtString & engagementRules() const;
81  virtual void setEngagementRules(const DtString & rules);
82 
85  virtual int netRepSize() const;
86 
88  virtual bool setFromNet(const char* contentBuffer,
89  unsigned contentSize);
90 
93  virtual bool setToNet();
94 
95  static DtSetDataRequest * creator();
96 
97 protected:
98 
100 
101 };
102 
virtual bool setToNet()
Sets netRep buffer to the contents of this set request.
DtRwString myEngagementRules
Definition: setEngagementRulesRequest.h:99
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
virtual int netRepSize() const
DtSetDataRequest is an abstract base class from which real setDataRequests can derive.
Definition: setDataRequest.h:40
File: setEngRules.h.
Definition: setEngagementRulesRequest.h:25
virtual const DtSetMessageType & type() const =0
What kind of setDataRequest am I? (from radioMsgTypes.h).
virtual DtSetDataRequest * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this 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.
DtSetEngagementRulesRequest is used to set the rules of engagement for an entity. ...
Definition: setEngagementRulesRequest.h:43
#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.
DtNetU8 myEngagementRulesLength
Definition: setEngagementRulesRequest.h:27

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)