VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setZoomSensorRequest.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include <readerWriter/rwReal.h>
13 #include <readerWriter/rwString.h>
14 
15 
16 
30 {
31 
32 public:
33 
36 
39  DtSetZoomSensorRequest(const DtString & writeName,
40  DtReaderWriterRegistry * parentRegistry = 0);
41 
43  DtSetZoomSensorRequest(const DtString & writeName, const DtSetZoomSensorRequest &
44  orig, DtReaderWriterRegistry * parentRegistry = 0);
45 
48 
49  virtual ~DtSetZoomSensorRequest();
50 
52  virtual const DtSetMessageType& type() const;
53 
55  virtual DtSetDataRequest * clone(const DtString & name,
56  DtReaderWriterRegistry * parentRegistry = 0) const;
57 
59  virtual DtString stringRep() const;
60 
62  virtual double zoomLevel() const;
63  virtual void setZoomLevel(double factor);
64 
66  virtual const DtString& sensorFieldOfViewId() const;
67  virtual void setSensorFieldOfViewId(const DtString& id);
68 
71  virtual int netRepSize() const;
72 
74  virtual bool setFromNet(const char* contentBuffer,
75  unsigned contentSize);
76 
79  virtual bool setToNet();
80 
81  static DtSetDataRequest * creator();
82 
83 protected:
84 
87 
88 };
virtual bool setToNet()
Sets netRep buffer to the contents of this set request.
DtRwReal myZoomLevel
Definition: setZoomSensorRequest.h:85
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
DtSetZoomSensorRequest is used to set the zoom level of a gimbaled sensor.
Definition: setZoomSensorRequest.h:29
virtual int netRepSize() const
DtRwString mySensorFieldOfViewId
Definition: setZoomSensorRequest.h:86
DtSetDataRequest is an abstract base class from which real setDataRequests can derive.
Definition: setDataRequest.h:40
virtual const DtSetMessageType & type() const =0
What kind of setDataRequest am I? (from radioMsgTypes.h).
virtual DtSetDataRequest * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this request.
const DtSetDataRequest & operator=(const DtSetDataRequest &orig)
assignment operator; same as copy costructor.
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets the contents of this set request based on the network buffer.
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual DtString stringRep() const =0
Get a readable string representation of this setDataRequest.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)