VR-Forces 5.0.3 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
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 Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)