VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtMmsElement.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 
15 
16 namespace makVrv
17 {
18  class DtMissionIdElement;
19  class DtPlatformDesignationElement;
20  class DtMotionImageryCoreIdentifierElement;
21  class DtImageSourceSensorElement;
22  class DtSecurityElement;
23  class DtDe;
24 
28  {
29  public:
31  DtMmsElement(DtDe& de, const DtVideoStream& videoStream);
32 
34  virtual ~DtMmsElement();
35 
37  virtual void tick(double dt);
38 
40  virtual unsigned int encodedLength();
41 
43  virtual unsigned char* encode(unsigned char* buffer);
44 
46  virtual void decode(unsigned char* buffer, unsigned int length);
47 
49  virtual bool timeForUpdate();
50 
51  protected:
53  virtual void update();
54 
56  unsigned char mySequenceNumber;
57 
60 
62  };
63 }
A DtVideoStream instance will create a single streaming video pipeline on the channel indicated by wi...
Definition: DtVideoStream.h:35
#define DT_DLL_VRVMINIMUMMS
Definition: vrvMinimumMS.h:21
Contains the DtVideoStream class declaration.
Class that contain all the metadata element for the Minimum Dataset.
Definition: DtMmsElement.h:27
Contains DLL export macros.
unsigned char mySequenceNumber
Definition: DtMmsElement.h:56
DtMetadataElement is an abstract class that defines the interface common to all metadata elements...
Definition: DtMetadataElement.h:22
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...
DtDe & myDe
Definition: DtMmsElement.h:61
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.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
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...
const DtVideoStream & myVideoStream
Reference to the video stream.
Definition: DtMmsElement.h:59
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)