VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setDataRequestMessage.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
13 
28 #include "vrfmsgs/vrfmsgsDefines.h"
30 {
31 
32 public:
33 
36 
38 
39 protected:
41 
42 public:
43 
45  virtual ~DtSetDataRequestMessage();
46 
48  virtual DtSetDataRequest * setDataRequest() const;
49 
63  virtual void setSetDataRequest(DtSetDataRequest * request);
64 
67  virtual int contentCategoryType() const;
68 
69  virtual const DtSetMessageType& contentType() const;
70 
72  virtual DtSimMessage * clone() const;
73 
77  virtual int netRepSize() const;
78 
81  virtual bool setFromNet(const char* networkBuffer,
82  unsigned contentSize);
83 
86  virtual bool setToNet();
87 
88  virtual void printDataToString(DtString& str);
89 
90  static DtVrfObjectMessage* creator();
91 
92 protected:
95 };
bool myOwnSetDataRequest
Definition: setDataRequestMessage.h:94
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
virtual bool setToNet()
Fill in our network representation.
virtual DtSimMessage * clone() const =0
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
File: simMsg.h.
Definition: simMessage.h:35
virtual bool setFromNet(const char *networkBuffer, unsigned contentSize)
Fills in the message from the network buffer.
const DtVrfObjectMessage & operator=(const DtVrfObjectMessage &orig)
assignment operator: shallow; assigns values only.
virtual int netRepSize() const
Returns the size of the simulation network representation of this message. This size includes any tas...
The base class for all messages to/from a specific DtVrfObject. Various subclasses of this class will...
Definition: vrfObjectMessage.h:30
virtual int contentCategoryType() const =0
DtSetDataRequest * mySetDataRequest
Definition: setDataRequestMessage.h:93
A DtSetDataRequestMessage is a DtRadioMsg with a pointer to a setDataRequest. The type of the DtSetDa...
Definition: setDataRequestMessage.h:29
virtual void printDataToString(DtString &str)
Print message.

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)