VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtLocalElement.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 
12 #include <vrvLocalMS/vrvLocalMS.h>
15 
16 namespace makVrv
17 {
18  class DtDe;
19 
23  {
24  public:
26  DtLocalElement(DtDe& de, const DtVideoStream& videoStream);
27 
29  virtual ~DtLocalElement();
30 
32  virtual void tick(double dt);
33 
35  virtual unsigned int encodedLength();
36 
38  virtual unsigned char* encode(unsigned char* buffer);
39 
41  virtual void decode(unsigned char* buffer, unsigned int length);
42 
43 
44  virtual bool timeForUpdate();
45 
46  protected:
48  virtual void update();
49 
51  unsigned char mySequenceNumber;
52 
55 
57  };
58 }
A DtVideoStream instance will create a single streaming video pipeline on the channel indicated by wi...
Definition: DtVideoStream.h:35
unsigned char mySequenceNumber
Definition: DtLocalElement.h:51
Contains the DtVideoStream class declaration.
virtual unsigned int encodedLength()
return the BER encoding length
Contains DLL export macros.
virtual bool timeForUpdate()
Get whether it is time to update this element.
DtMetadataElement is an abstract class that defines the interface common to all metadata elements...
Definition: DtMetadataElement.h:22
virtual ~DtLocalElement()
DTOR.
virtual void decode(unsigned char *buffer, unsigned int length)
decode from a buffer
const DtVideoStream & myVideoStream
Reference to the video stream.
Definition: DtLocalElement.h:54
virtual void update()
check for update
DtLocalElement(DtDe &de, const DtVideoStream &videoStream)
CTOR.
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:70
DtDe & myDe
Definition: DtLocalElement.h:56
Class that contain all the metadata element for the Local Dataset.
Definition: DtLocalElement.h:22
Contains the DtMetadataElement class declaration.
virtual unsigned char * encode(unsigned char *buffer)
encode the all the fields in the buffer
virtual void tick(double dt)
Tick this element.

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)