VR-Forces 4.1 Class Documentation
setJoyDevReq.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2000 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 #pragma once
9 
10 #include "vrftasks/setDataReq.h"
11 #include "vrfutil/rwBoolean.h"
12 #include <vlpi/NetStructs.h>
13 
14 
15 
19 {
20  DtNetU8 myIsEnabled;
21  DtNetU8 padding;
22  DtNetU16 padding2;
23  DtNetU32 padding3;
24 };
25 
33 {
34 public:
35 
38 
40  DtSetJoyDeviceSwitchRequest(const DtString & writeName,
41  DtReaderWriterRegistry * parentRegistry = 0);
42 
44  virtual ~DtSetJoyDeviceSwitchRequest();
45 
47  DtSetJoyDeviceSwitchRequest(const DtString & writeName,
48  const DtSetJoyDeviceSwitchRequest& orig, DtReaderWriterRegistry * parentRegistry = 0);
49 
52 
53  virtual const DtSetMessageType& type() const;
54 
56  virtual DtSetDataRequest * clone(const DtString & name,
57  DtReaderWriterRegistry * parentRegistry = 0) const;
58 
60  virtual DtString stringRep() const;
61 
62  virtual void setIsEnabled(bool isEnabled);
63  virtual bool isEnabled()const;
64 
67  virtual int netRepSize() const;
68 
70  virtual bool setFromNet(const char* contentBuffer,
71  unsigned contentSize);
72 
75  virtual bool setToNet();
76 
77  static DtSetDataRequest * creator();
78 
79 protected:
80 
82 };
83 

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)