VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setReactiveTaskTable.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 #pragma once
6 
7 
9 #include "vlpi/netStructs.h"
11 
14 #include <readerWriter/rwList.h>
15 #include "rwSetDataRequestList.h"
16 
17 
19 {
20 public:
22 
25  DtSetReactiveTaskTable(const DtString& writeName,
26  DtReaderWriterRegistry* parentRegistry = 0);
27 
29  DtSetReactiveTaskTable(const DtString& writeName,
30  const DtSetReactiveTaskTable& orig,
31  DtReaderWriterRegistry* parentRegistry = 0);
32 
35 
36  virtual ~DtSetReactiveTaskTable();
37 
39  virtual const DtSetMessageType& type() const;
40 
42  virtual DtSetDataRequest* clone(const DtString& name,
43  DtReaderWriterRegistry* parentRegistry = 0) const;
44 
46  virtual DtString stringRep() const;
47 
49  virtual DtRwSetDataRequestList& setMessages();
50  virtual const DtRwSetDataRequestList& setMessages() const;
51 
54  virtual int netRepSize() const;
55 
57  virtual bool setFromNet(const char* contentBuffer,
58  unsigned contentSize);
59 
62  virtual bool setToNet();
63 
64  static DtSetDataRequest* creator();
65 
66 protected:
68 };
virtual bool setToNet()
Sets netRep buffer to the contents of this set request.
DtRwSetDataRequestList mySetMessages
Definition: setReactiveTaskTable.h:67
Definition: readerWriterRegistry.h:39
virtual int netRepSize() const
DtSetDataRequest is an abstract base class from which real setDataRequests can derive.
Definition: setDataRequest.h:40
Definition: rwSetDataRequestList.h:19
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.
Define constants for types of tasks, sets, admin messages, reports, and sim commands (all sent via ra...
Used to set the entity emitter system radar mode.
Definition: setReactiveTaskTable.h:18
#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.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)