VR-Forces 4.1 Class Documentation
setForce.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 
18 #include "vrftasks/setDataReq.h"
19 #include "vrfutil/rwForce.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 Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)