VideoXpert SDK  2.0
A software development kit for third party vendors to integrate with the VideoXpert platform
VxSdk::VxNewDeviceAssignment Struct Reference

Represents a new device assignment to be created. More...

#include <VxNewDeviceAssignment.h>

Public Member Functions

 VxNewDeviceAssignment ()
 Initializes a new instance of the VxNewDeviceAssignment struct. More...
 
 VxNewDeviceAssignment (const VxNewDeviceAssignment &ref)
 Initializes a new instance of the VxNewDeviceAssignment struct. More...
 
 ~VxNewDeviceAssignment ()
 Finalizes an instance of the VxNewDeviceAssignment class. More...
 
void Clear ()
 Clears this instance. More...
 

Public Attributes

char deviceId [64]
 The unique identifier of the device to assign. More...
 
char driverType [64]
 The type identifier of the driver to use for this device. If no type is provided, a driver will be selected automatically. More...
 
char ** dataSourceIds
 The data sources to assign. More...
 
int dataSourceIdSize
 The size of dataSourceIds. More...
 

Detailed Description

Represents a new device assignment to be created.

Definition at line 12 of file VxNewDeviceAssignment.h.

Constructor & Destructor Documentation

VxSdk::VxNewDeviceAssignment::VxNewDeviceAssignment ( )
inline

Initializes a new instance of the VxNewDeviceAssignment struct.

Definition at line 17 of file VxNewDeviceAssignment.h.

17  {
18  Clear();
19  }
void Clear()
Clears this instance.
VxSdk::VxNewDeviceAssignment::VxNewDeviceAssignment ( const VxNewDeviceAssignment ref)
inline

Initializes a new instance of the VxNewDeviceAssignment struct.

Parameters
refThe reference.

Definition at line 25 of file VxNewDeviceAssignment.h.

25  {
26  Utilities::StrCopySafe(this->deviceId, ref.deviceId);
27  Utilities::StrCopySafe(this->driverType, ref.driverType);
28  this->dataSourceIds = ref.dataSourceIds;
29  this->dataSourceIdSize = ref.dataSourceIdSize;
30  }
int dataSourceIdSize
The size of dataSourceIds.
static void StrCopySafe(char(&dst)[dstSize], const char *src)
Performs a safe string copy.
Definition: VxUtilities.h:15
char deviceId[64]
The unique identifier of the device to assign.
char ** dataSourceIds
The data sources to assign.
char driverType[64]
The type identifier of the driver to use for this device. If no type is provided, a driver will be se...
VxSdk::VxNewDeviceAssignment::~VxNewDeviceAssignment ( )
inline

Finalizes an instance of the VxNewDeviceAssignment class.

Definition at line 35 of file VxNewDeviceAssignment.h.

35  {
36  Clear();
37  }
void Clear()
Clears this instance.

Member Function Documentation

void VxSdk::VxNewDeviceAssignment::Clear ( )
inline

Clears this instance.

Definition at line 42 of file VxNewDeviceAssignment.h.

42  {
43  VxZeroArray(this->deviceId);
44  VxZeroArray(this->driverType);
45  this->dataSourceIds = nullptr;
46  this->dataSourceIdSize = 0;
47  }
#define VxZeroArray(src)
Definition: VxMacros.h:25
int dataSourceIdSize
The size of dataSourceIds.
char deviceId[64]
The unique identifier of the device to assign.
char ** dataSourceIds
The data sources to assign.
char driverType[64]
The type identifier of the driver to use for this device. If no type is provided, a driver will be se...

Member Data Documentation

char** VxSdk::VxNewDeviceAssignment::dataSourceIds

The data sources to assign.

Definition at line 61 of file VxNewDeviceAssignment.h.

int VxSdk::VxNewDeviceAssignment::dataSourceIdSize

The size of dataSourceIds.

Definition at line 65 of file VxNewDeviceAssignment.h.

char VxSdk::VxNewDeviceAssignment::deviceId[64]

The unique identifier of the device to assign.

Definition at line 53 of file VxNewDeviceAssignment.h.

char VxSdk::VxNewDeviceAssignment::driverType[64]

The type identifier of the driver to use for this device. If no type is provided, a driver will be selected automatically.

Definition at line 57 of file VxNewDeviceAssignment.h.


The documentation for this struct was generated from the following file: