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

Represents a new monitor to be created. More...

#include <VxNewMonitor.h>

Public Member Functions

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

Public Attributes

char hostDeviceId [64]
 The unique identifier of the monitor host device. More...
 
char name [64]
 The friendly name of the monitor. More...
 
int number
 The unique number of the monitor. More...
 
VxCellLayout::Value layout
 The cell grid layout of the monitor. More...
 

Detailed Description

Represents a new monitor to be created.

Definition at line 12 of file VxNewMonitor.h.

Constructor & Destructor Documentation

VxSdk::VxNewMonitor::VxNewMonitor ( )
inline

Initializes a new instance of the VxNewMonitor struct.

Definition at line 17 of file VxNewMonitor.h.

17  {
18  Clear();
19  }
void Clear()
Clears this instance.
Definition: VxNewMonitor.h:42
VxSdk::VxNewMonitor::VxNewMonitor ( const VxNewMonitor ref)
inline

Initializes a new instance of the VxNewMonitor struct.

Parameters
refThe reference.

Definition at line 25 of file VxNewMonitor.h.

25  {
26  Utilities::StrCopySafe(this->hostDeviceId, ref.hostDeviceId);
27  Utilities::StrCopySafe(this->name, ref.name);
28  this->number = ref.number;
29  layout = ref.layout;
30  }
static void StrCopySafe(char(&dst)[dstSize], const char *src)
Performs a safe string copy.
Definition: VxUtilities.h:15
char name[64]
The friendly name of the monitor.
Definition: VxNewMonitor.h:58
VxCellLayout::Value layout
The cell grid layout of the monitor.
Definition: VxNewMonitor.h:66
int number
The unique number of the monitor.
Definition: VxNewMonitor.h:62
char hostDeviceId[64]
The unique identifier of the monitor host device.
Definition: VxNewMonitor.h:54
VxSdk::VxNewMonitor::~VxNewMonitor ( )
inline

Finalizes an instance of the VxNewMonitor class.

Definition at line 35 of file VxNewMonitor.h.

35  {
36  Clear();
37  }
void Clear()
Clears this instance.
Definition: VxNewMonitor.h:42

Member Function Documentation

void VxSdk::VxNewMonitor::Clear ( )
inline

Clears this instance.

Definition at line 42 of file VxNewMonitor.h.

42  {
44  VxZeroArray(this->name);
45  number = 0;
47  }
#define VxZeroArray(src)
Definition: VxMacros.h:25
A 1x1 monitor layout.
Definition: VxPrimitives.h:45
char name[64]
The friendly name of the monitor.
Definition: VxNewMonitor.h:58
VxCellLayout::Value layout
The cell grid layout of the monitor.
Definition: VxNewMonitor.h:66
int number
The unique number of the monitor.
Definition: VxNewMonitor.h:62
char hostDeviceId[64]
The unique identifier of the monitor host device.
Definition: VxNewMonitor.h:54

Member Data Documentation

char VxSdk::VxNewMonitor::hostDeviceId[64]

The unique identifier of the monitor host device.

Definition at line 54 of file VxNewMonitor.h.

VxCellLayout::Value VxSdk::VxNewMonitor::layout

The cell grid layout of the monitor.

Definition at line 66 of file VxNewMonitor.h.

char VxSdk::VxNewMonitor::name[64]

The friendly name of the monitor.

Definition at line 58 of file VxNewMonitor.h.

int VxSdk::VxNewMonitor::number

The unique number of the monitor.

Definition at line 62 of file VxNewMonitor.h.


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