VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtPlatformAngleOfAttackElement.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvLocalMS/vrvLocalMS.h>
14 
15 #include <vlutil/vlNetTypes.h>
16 
17 namespace makVrv
18 {
20  {
21  public:
24 
25  virtual unsigned int encodedLength();
26  virtual unsigned char* encode(unsigned char* buffer);
27 
28  virtual void decode(unsigned char* buffer, unsigned int length);
29 
30  double angleOfAttack();
31  void setAngleOfAttack(double val);
32 
33  protected:
34  virtual void update();
35 
36  DtNetInt16 myAngleOfAttack;
37  };
38 }
virtual unsigned char * encode(unsigned char *buffer)
Encode the metadata element.
Contains DLL export macros.
virtual void update()
Update the metadata element. Called by tick() if timeForUpdate() is true.
DtMetadataElement is an abstract class that defines the interface common to all metadata elements...
Definition: DtMetadataElement.h:22
DtNetInt16 myAngleOfAttack
Definition: DtPlatformAngleOfAttackElement.h:36
virtual unsigned int encodedLength()
Get the encoded length of this metadata element.
Definition: DtPlatformAngleOfAttackElement.h:19
virtual void decode(unsigned char *buffer, unsigned int length)
Decode the metadata element; not curently implemented in VR-Vantage.
Contains the DtMetadataElement class declaration.

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)