VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
setSpeedRequest.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 #pragma once
15 
16 
18 #include "vrfutil/rwReal.h"
19 #include <vlpi/netStructs.h>
20 
24 {
25  DtNetFloat64 mySpeed;
26 };
27 
39 {
40 
41 public:
42 
45 
48  DtSetSpeedRequest(const DtString & writeName,
49  DtReaderWriterRegistry * parentRegistry = 0);
50 
52  DtSetSpeedRequest(const DtString & writeName, const DtSetSpeedRequest &
53  orig, DtReaderWriterRegistry * parentRegistry = 0);
54 
56  const DtSetSpeedRequest & operator=(const DtSetSpeedRequest & orig);
57 
58  virtual ~DtSetSpeedRequest();
59 
61  virtual const DtSetMessageType& type() const;
62 
64  virtual DtSetDataRequest * clone(const DtString & name,
65  DtReaderWriterRegistry * parentRegistry = 0) const;
66 
68  virtual DtString stringRep() const;
69 
71  virtual DtReal speed() const;
72  virtual void setSpeed(DtReal speed);
73 
76  virtual int netRepSize() const;
77 
79  virtual bool setFromNet(const char* contentBuffer,
80  unsigned contentSize);
81 
84  virtual bool setToNet();
85 
86  static DtSetDataRequest * creator();
87 
88 protected:
89 
91 
92 };
93 

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)