VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
setJoyDeviceSwitchRequest.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 
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 Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)