VR-Forces Developer's Guide
 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() override;
37 
39  virtual DtAdminContent * adminContent() const;
40 
45  virtual void setAdminContent(DtAdminContent * content);
46 
48  virtual int contentCategoryType() const override;
49 
51  virtual const DtAdminContentMessageType& contentType() const;
52 
54  virtual DtSimMessage * clone() const override;
55 
57  virtual int netRepSize() const override;
58 
61  virtual bool setFromNet(const char* networkBuffer, unsigned contentSize) override;
62 
65  virtual bool setToNet() override;
66 
67  virtual void printDataToString(DtString& str) override;
68 
69  static DtVrfObjectMessage* creator();
70 
71 protected:
74 };
75 
bool myOwnContent
Definition: adminMessage.h:73
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
DtAdminContent * myAdminContent
Definition: adminMessage.h:72
Definition: vrfObjectMessageTypeTemplate.h:24
virtual bool setToNet()
Fill in our network representation.
virtual void printDataToString(DtString &str) override
Print message.
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. This size includes any tas...
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. Various subclasses of this class will...
Definition: vrfObjectMessage.h:30
virtual int contentCategoryType() const =0
DtAdminContent.
Definition: adminContent.h:23
Definition: adminMessage.h:20

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)