VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
setForceRequest.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
17 
19 #include "vrfutil/rwForceType.h"
20 #include <vlutil/vlNetTypes.h>
21 
25 {
26  DtNetInt32 myForce;
27 };
28 
38 {
39 
40 public:
41 
44 
47  DtSetForceRequest(const DtString & writeName,
48  DtReaderWriterRegistry * parentRegistry = 0);
49 
51  DtSetForceRequest(const DtString & writeName, const DtSetForceRequest &
52  orig, DtReaderWriterRegistry * parentRegistry = 0);
53 
55  const DtSetForceRequest & operator=(const DtSetForceRequest & orig);
56 
57  virtual ~DtSetForceRequest();
58 
60  virtual const DtSetMessageType& type() const;
61 
63  virtual DtSetDataRequest * clone(const DtString & name,
64  DtReaderWriterRegistry * parentRegistry = 0) const;
65 
67  virtual DtString stringRep() const;
68 
69  virtual DtForceType force() const;
70  virtual void setForce(DtForceType force);
71 
74  virtual int netRepSize() const;
75 
77  virtual bool setFromNet(const char* contentBuffer,
78  unsigned contentSize);
79 
82  virtual bool setToNet();
83 
84  static DtSetDataRequest * creator();
85 
86 protected:
87 
89 
90 };
91 

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)