VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
adminMessage.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 
15 #include "vrfmsgs/vrfmsgsDefines.h"
17 
18 class DtAdminContent;
19 
21 {
22 
23 public:
24 
27 
28  DtAdminMessage(const DtAdminMessage& orig);
29 
30 protected:
31  const DtAdminMessage & operator=(DtAdminMessage & orig);
32 
33 public:
34 
36  virtual ~DtAdminMessage();
37 
39  virtual DtAdminContent * adminContent() const;
40 
45  virtual void setAdminContent(DtAdminContent * content);
46 
48  virtual int contentCategoryType() const;
49 
51  virtual const DtAdminContentMessageType& contentType() const;
52 
54  virtual DtSimMessage * clone() const;
55 
57  virtual int netRepSize() const;
58 
61  virtual bool setFromNet(const char* networkBuffer,
62  unsigned contentSize);
63 
66  virtual bool setToNet();
67 
68  virtual void printDataToString(DtString& str);
69 
70  static DtVrfObjectMessage* creator();
71 
72 protected:
75 };
76 
bool myOwnContent
Definition: adminMessage.h:74
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
DtAdminContent * myAdminContent
Definition: adminMessage.h:73
Definition: vrfObjectMessageTypeTemplate.h:24
virtual bool setToNet()
Fill in our network representation.
virtual DtSimMessage * clone() const =0
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.
Define constants for types of tasks, sets, admin messages, reports, and sim commands (all sent via ra...
The base class for all messages to/from a specific DtVrfObject.
Definition: vrfObjectMessage.h:30
virtual int contentCategoryType() const =0
DtAdminContent.
Definition: adminContent.h:24
virtual void printDataToString(DtString &str)
Print message.
Definition: adminMessage.h:20

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)