VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtPlatformCallSignElement.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  std::string callSign();
31  void setCallSign(const std::string& val);
32 
33  protected:
34  virtual void update();
35 
36  std::string myCallSign;
37  };
38 }
virtual unsigned char * encode(unsigned char *buffer)
Encode the metadata element.
void setCallSign(const std::string &val)
Definition: DtPlatformCallSignElement.h:19
virtual unsigned int encodedLength()
Get the encoded length of this 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
std::string myCallSign
Definition: DtPlatformCallSignElement.h:36
DT_DLL_VRVCORE double length(const makVrv::DtCoordinateSystem &, const std::vector< DtVector > &vertices)
Returns the total distance of a segmented line defined by the provided vector of vertices. Coordinates are in local database coordinates. The coordinate system is used to convert between the local database coordinates and geocentric. All distance is in 2D – the Z value is ignored.
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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)