VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
setSurrenderRequest.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 #pragma once
15 
16 
18 #include "vrfutil/rwBoolean.h"
19 #include <vlutil/vlNetTypes.h>
20 
23 {
24  DtNetBoolean mySurrender;
25 };
26 
32 
35 {
36 
37 public:
38 
41 
44  DtSetSurrenderRequest(const DtString & writeName,
45  DtReaderWriterRegistry * parentRegistry = 0);
46 
48  DtSetSurrenderRequest(const DtString & writeName, const DtSetSurrenderRequest &
49  orig, DtReaderWriterRegistry * parentRegistry = 0);
50 
53 
54  virtual ~DtSetSurrenderRequest();
55 
57  virtual const DtSetMessageType& type() const;
58 
60  virtual DtSetDataRequest * clone(const DtString & name,
61  DtReaderWriterRegistry * parentRegistry = 0) const;
62 
64  virtual DtString stringRep() const;
65 
66  virtual bool surrender() const;
67  virtual void setSurrender(bool b);
68 
71  virtual int netRepSize() const;
72 
74  virtual bool setFromNet(const char* contentBuffer,
75  unsigned contentSize);
76 
79  virtual bool setToNet();
80 
81  static DtSetDataRequest * creator();
82 
83 protected:
84 
86 
87 };

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)