VR-Forces 4.2 Class Documentation
setSpeed.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 
17 #include "vrftasks/setDataReq.h"
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 Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)