C++/CLI Sample
Demonstrates how to create a C++/CLI library using the VideoXpert SDK
CPPCli::DataInterface Class Reference

The DataInterface class represents an interface to a data source. More...

#include <DataInterface.h>

Public Types

enum  RenderTypes {
  RenderTypes::Unknown,
  RenderTypes::Evo,
  RenderTypes::Optera180,
  RenderTypes::Optera270,
  RenderTypes::Optera360,
  RenderTypes::Standard
}
 Values that represent stream protocols. More...
 
enum  StreamFormats {
  StreamFormats::Unknown,
  StreamFormats::H264,
  StreamFormats::H265,
  StreamFormats::Mpeg4,
  StreamFormats::Jpeg,
  StreamFormats::G711
}
 Values that represent stream protocols. More...
 
enum  StreamProtocols {
  StreamProtocols::Unknown,
  StreamProtocols::MjpegPull,
  StreamProtocols::RtspRtp
}
 Values that represent stream protocols. More...
 

Public Member Functions

 DataInterface (VxSdk::IVxDataInterface *vxDataInterface)
 Constructor. More...
 

Package Attributes

VxSdk::IVxDataInterface_dataInterface
 

Properties

int Bitrate [get]
 Gets the average bitrate of the stream, if available (in kbps). More...
 
System::String^  DataEncodingId [get]
 Gets the unique identifier for a specific data encoding (based on encoding quality, framerate, and resolution). Multiple identical copies of the data may exist across the system; these will have the same dataEncodingId. This ID may be used when requesting a specific encoding to export, record, playback, etc. More...
 
System::String^  DataEndpoint [get]
 Gets the endpoint of the data interface. More...
 
StreamFormats Format [get]
 Gets the media stream encoding format. More...
 
float Framerate [get]
 Gets the framerate of the data. More...
 
System::String^  MulticastTestIp [get]
 Gets the multicast test IP used to test transmission capabilities. More...
 
int MulticastTestPort [get]
 Gets the multicast test port used to test transmission capabilities. More...
 
StreamProtocols Protocol [get]
 Gets the protocol of the data interface. More...
 
RenderTypes RenderType [get]
 Gets the type of rendering required for the media data delivered by this interface. More...
 
bool SupportsMulticast [get]
 Gets a value indicating whether the interface supports multicast transmission. More...
 
int XResolution [get]
 Gets the horizontal resolution of the data. More...
 
int YResolution [get]
 Gets the vertical resolution of the data. More...
 

Detailed Description

The DataInterface class represents an interface to a data source.

Definition at line 12 of file DataInterface.h.

Member Enumeration Documentation

Values that represent stream protocols.

Enumerator
Unknown 

An error or unknown value was returned.

Evo 

Evo renderer.

Optera180 

Optera 180 renderer.

Optera270 

Optera 270 renderer.

Optera360 

Optera 360 renderer.

Standard 

Standard renderer.

Definition at line 18 of file DataInterface.h.

18  {
20  Unknown,
21 
23  Evo,
24 
26  Optera180,
27 
29  Optera270,
30 
32  Optera360,
33 
35  Standard
36  };

Values that represent stream protocols.

Enumerator
Unknown 

An error or unknown value was returned.

H264 

H.264 encoding format.

H265 

H.265 encoding format.

Mpeg4 

MPEG-4 encoding format.

Jpeg 

JPEG encoding format.

G711 

G.711 encoding format.

Definition at line 41 of file DataInterface.h.

41  {
43  Unknown,
44 
46  H264,
47 
49  H265,
50 
52  Mpeg4,
53 
55  Jpeg,
56 
58  G711
59  };

Values that represent stream protocols.

Enumerator
Unknown 

An error or unknown value was returned.

MjpegPull 

The Mjpeg (pull) protocol.

RtspRtp 

The RTSP/RTP protocol.

Definition at line 64 of file DataInterface.h.

64  {
66  Unknown,
67 
69  MjpegPull,
70 
72  RtspRtp
73  };

Constructor & Destructor Documentation

CPPCli::DataInterface::DataInterface ( VxSdk::IVxDataInterface vxDataInterface)

Constructor.

Implements the data interface class.

Parameters
vxDataInterfaceThe vx data interface.

Definition at line 6 of file DataInterface.cpp.

6  {
7  _dataInterface = vxDataInterface;
8 }
VxSdk::IVxDataInterface * _dataInterface

Member Data Documentation

VxSdk::IVxDataInterface* CPPCli::DataInterface::_dataInterface
package

Definition at line 192 of file DataInterface.h.

Property Documentation

int CPPCli::DataInterface::Bitrate
get

Gets the average bitrate of the stream, if available (in kbps).

The average bitrate of the stream.

Definition at line 85 of file DataInterface.h.

System:: String^ CPPCli::DataInterface::DataEncodingId
get

Gets the unique identifier for a specific data encoding (based on encoding quality, framerate, and resolution). Multiple identical copies of the data may exist across the system; these will have the same dataEncodingId. This ID may be used when requesting a specific encoding to export, record, playback, etc.

The data encoding unique identifier.

Definition at line 96 of file DataInterface.h.

System:: String^ CPPCli::DataInterface::DataEndpoint
get

Gets the endpoint of the data interface.

The data interface endpoint.

Definition at line 105 of file DataInterface.h.

StreamFormats CPPCli::DataInterface::Format
get

Gets the media stream encoding format.

The encoding format.

Definition at line 114 of file DataInterface.h.

float CPPCli::DataInterface::Framerate
get

Gets the framerate of the data.

The framerate.

Definition at line 123 of file DataInterface.h.

System:: String^ CPPCli::DataInterface::MulticastTestIp
get

Gets the multicast test IP used to test transmission capabilities.

The multicast test IP.

Definition at line 132 of file DataInterface.h.

int CPPCli::DataInterface::MulticastTestPort
get

Gets the multicast test port used to test transmission capabilities.

The multicast test port.

Definition at line 141 of file DataInterface.h.

StreamProtocols CPPCli::DataInterface::Protocol
get

Gets the protocol of the data interface.

The interface protocol.

Definition at line 150 of file DataInterface.h.

RenderTypes CPPCli::DataInterface::RenderType
get

Gets the type of rendering required for the media data delivered by this interface.

The rendering type.

Definition at line 159 of file DataInterface.h.

bool CPPCli::DataInterface::SupportsMulticast
get

Gets a value indicating whether the interface supports multicast transmission.

true if multicast is supported, false if not.

Definition at line 168 of file DataInterface.h.

int CPPCli::DataInterface::XResolution
get

Gets the horizontal resolution of the data.

The horizontal resolution.

Definition at line 177 of file DataInterface.h.

int CPPCli::DataInterface::YResolution
get

Gets the vertical resolution of the data.

The vertical resolution.

Definition at line 186 of file DataInterface.h.


The documentation for this class was generated from the following files: