VR-Forces 5.0.2 Developer's Guide
 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. Base class does nothing and returns true...
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. It manages the read/write capability; derived classes need only use and register read/writatble data types for derived information.
Definition: setDataRequest.h:41
Definition: rwSetDataRequestList.h:19
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...
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. Returns a human readable string represen...

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)