VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setAppearanceRequest.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
17 
18 #include <vlutil/vlNetTypes.h>
19 
21 #include <readerWriter/rwInt.h>
22 
26 {
27  DtU32 myAppearance;
28 };
29 
40 {
41 
42 public:
43 
46 
49  DtSetAppearanceRequest(const DtString & writeName,
50  DtReaderWriterRegistry * parentRegistry = 0);
51 
53  DtSetAppearanceRequest(const DtString & writeName, const DtSetAppearanceRequest &
54  orig, DtReaderWriterRegistry * parentRegistry = 0);
55 
58 
59  virtual ~DtSetAppearanceRequest();
60 
62  virtual const DtSetMessageType& type() const;
63 
65  virtual DtSetDataRequest * clone(const DtString & name,
66  DtReaderWriterRegistry * parentRegistry = 0) const;
67 
69  virtual DtString stringRep() const;
70 
71  virtual int appearance() const;
72  virtual void setAppearance(int appearance);
73 
76  virtual int netRepSize() const;
77 
79  virtual bool setFromNet(const char* contentBuffer,
80  unsigned contentSize);
81 
84  virtual bool setToNet();
85 
86  static DtSetDataRequest * creator();
87 
88 protected:
89 
91 
92 };
93 
virtual bool setToNet()
Sets netRep buffer to the contents of this set request.
File: setAppearance.h.
Definition: setAppearanceRequest.h:25
Definition: readerWriterRegistry.h:39
virtual int netRepSize() const
DtSetDataRequest is an abstract base class from which real setDataRequests can derive.
Definition: setDataRequest.h:40
virtual const DtSetMessageType & type() const =0
What kind of setDataRequest am I? (from radioMsgTypes.h).
Description: Readable, Writable int.
Definition: rwInt.h:25
DtU32 myAppearance
Definition: setAppearanceRequest.h:27
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.
DtRwInt myAppearance
Definition: setAppearanceRequest.h:90
#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.
DtSetAppearanceRequest is used to set the appearance of the specified.
Definition: setAppearanceRequest.h:39

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)