VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
waterCurrentStruct.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #pragma once
7 
8 #include <matrix/vlVector.h>
9 
11 #include <vlpi/metocEnums.h>
12 #include <vlpi/entityType.h>
13 #include <vlpi/entityIdentifier.h>
14 #include <vlutil/vlMachineTypes.h>
15 #include <vlutil/vlString.h>
16 
17 #include <vector>
18 
19 
21 
22 
25 {
26 public:
31  DtWaterCurrentStruct& operator=(const DtWaterCurrentStruct& orig);
32  DtWaterCurrentStruct& operator=(const DtNetWaterCurrentStruct& orig);
33 
34  virtual void setDirection(const DtFloat32& val);
35  virtual const DtFloat32& direction() const;
36  virtual void setSpeed(const DtFloat32& val);
37  virtual const DtFloat32& speed() const;
38 
39  bool operator==(const DtWaterCurrentStruct& other) const;
40  bool operator!=(const DtWaterCurrentStruct& other) const;
41 
42  int netSize() const;
43  static int octetBoundary();
44  unsigned int getPaddingSize(unsigned long long byteOffset, unsigned int boundary) const;
45 
46  void writeToBuffer( char* buffer ) const;
47  void fillFromBuffer( const char* buffer, int bufferSize, int offset );
48 
49  virtual void printData() const;
50  virtual void printDataToStream(std::ostream &) const;
51 
52 protected:
55 
56 };
57 
58 DT_DLL_VL std::ostream& operator<<(std::ostream& stream, const DtWaterCurrentStruct&);
59 
Contains the DtEntityIdentifier class declaration.
const bool operator==(const DtU128 &lhs, const DtU128 &rhs)
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Contains the DtString class declaration.
Contains the DtEntityType and DtRadioEntityType class declarations.
std::ostream & operator<<(std::ostream &os, const Dt3dChord &chord)
This file contains typedefs used to represent objects in a protocol neutral way.
This file declares DtVector and DtVector32.
DtFloat32 myDirection
Definition: waterCurrentStruct.h:53
DtFloat32 mySpeed
Definition: waterCurrentStruct.h:54
Definition: waterCurrentStruct.h:24
const bool operator!=(const DtU128 &lhs, const DtU128 &rhs)
Definition: netStructs.h:421
This file contains typedefs for machine dependant types.

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)