VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setLaserInformationRequest.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
13 #include <readerWriter/rwReal.h>
14 
23 {
24 
25 public:
26 
29 
32  DtSetLaserInformationRequest(const DtString & writeName,
33  DtReaderWriterRegistry * parentRegistry = 0);
34 
37  orig, DtReaderWriterRegistry * parentRegistry = 0);
38 
41 
43 
45  virtual const DtSetMessageType& type() const;
46 
48  virtual DtSetDataRequest * clone(const DtString & name,
49  DtReaderWriterRegistry * parentRegistry = 0) const;
50 
52  virtual DtString stringRep() const;
53 
55  virtual void setPower(double);
56  virtual double power() const;
57 
59  virtual void setWavelength(double);
60  virtual double wavelength() const;
61 
64  virtual int netRepSize() const;
65 
67  virtual DtBoolean setFromNet(const char* contentBuffer,
68  unsigned contentSize);
69 
72  virtual DtBoolean setToNet();
73 
74  static DtSetDataRequest * creator();
75 
76 protected:
79 };
80 
virtual bool setToNet()
Sets netRep buffer to the contents of this set request. Base class does nothing and returns true...
DtRwReal myWavelength
Definition: setLaserInformationRequest.h:78
DtSetLaserInformationRequest will allow the setting of the power or wavelength of a laser assigned to...
Definition: setLaserInformationRequest.h:22
Definition: readerWriterRegistry.h:39
virtual int netRepSize() const
DtSetDataRequest is an abstract base class from which real setDataRequests can derive. It manages the read/write capability; derived classes need only use and register read/writatble data types for derived information.
Definition: setDataRequest.h:41
virtual const DtSetMessageType & type() const =0
What kind of setDataRequest am I? (from radioMsgTypes.h). Returns a string representing the kind of d...
virtual DtSetDataRequest * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this request. Returns a pointer to a newly created copy of this data 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. Base class does nothing and return...
DtRwReal myPower
Definition: setLaserInformationRequest.h:77
#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. Returns a human readable string represen...

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)