VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSensorRelAzmuthAngleElement.h
Go to the documentation of this file.
1 // /******************************************************************************
2 // ** Copyright (c) 2022 VT-MAK Technologies, Inc.
3 // ** All rights reserved.
4 // ******************************************************************************/
5 
9 
10 #pragma once
11 
14 
15 #include <vlutil/vlNetTypes.h>
16 
17 namespace makVrv
18 {
19  class DtDe;
20  class DT_DLL_VRVMINIMUMMS DtSensorRelAzimuthAngleElement : public DtSensorAngleElement
21  {
22  public:
23  DtSensorRelAzimuthAngleElement(DtDe& de);
24  virtual ~DtSensorRelAzimuthAngleElement();
25 
26  virtual unsigned int encodedLength();
27  virtual unsigned char* encode(unsigned char* buffer);
28 
29  virtual void decode(unsigned char* buffer, unsigned int length);
30 
31  double relAzimuth();
32  void setRelAzimuth(double val);
33 
34  DtSensorRelAzimuthAngleElement() = delete;
35  DtSensorRelAzimuthAngleElement(const DtSensorRelAzimuthAngleElement& rhs) = delete;
36  DtSensorRelAzimuthAngleElement& operator=(const DtSensorRelAzimuthAngleElement& rhs) = delete;
37 
38  protected:
39  virtual void update();
40 
41  DtNetU32 myRelAzimuth;
42  };
43 }
#define DT_DLL_VRVMINIMUMMS
Definition: vrvMinimumMS.h:21
Contains DLL export macros.
Contains the DtSensorAngleElement class declaration.
DT_DLL_readerWriter char * encode(const DtFilename &val, char *buffer)
Serializes the provided value val into buffer. buffer must have at least the number of bytes returned...
DT_DLL_readerWriter const char * decode(DtString &val, const char *buffer)
Decodes a value from buffer and places the result in val of the type specified by val...

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)