VR-Forces 4.2 Class Documentation
setAppearance.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 
20 #include "vrftasks/setDataReq.h"
21 #include "vrfutil/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 

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)