VR-Forces 4.8 Class Documentation
 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) 2018 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 {
21  {
22  public:
24  DtLocalElement(const DtVideoStream& videoStream);
25 
27  virtual ~DtLocalElement();
28 
30  virtual void tick(double dt);
31 
33  virtual unsigned int encodedLength();
34 
36  virtual unsigned char* encode(unsigned char* buffer);
37 
39  virtual void decode(unsigned char* buffer, unsigned int length);
40 
41 
42  virtual bool timeForUpdate();
43 
44  protected:
46  virtual void update();
47 
49  unsigned char mySequenceNumber;
50 
53  };
54 }
A DtVideoStream instance will create a single streaming video pipeline on the channel indicated by wi...
Definition: DtVideoStream.h:33
unsigned char mySequenceNumber
Definition: DtLocalElement.h:49
Contains the DtVideoStream class declaration.
virtual unsigned int encodedLength()
return the BER encoding length
DtLocalElement(const DtVideoStream &videoStream)
CTOR.
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:52
virtual void update()
check for update
Class that contain all the metadata element for the Local Dataset.
Definition: DtLocalElement.h:20
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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)