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

The ManualRecording class represents an instance of an active manual recording (the action, not the recorded clip). Each manual recording will cause its specified data source to be manually recorded by all data storages that the data source is assigned to. Only one manual recording per user per data source is allowed. A clip created via the application of a manual recording will have an event value of manual. More...

#include <ManualRecording.h>

Public Member Functions

 ManualRecording (VxSdk::IVxManualRecording *vxManualRecording)
 Constructor. More...
 
virtual ~ManualRecording ()
 Destructor. More...
 
 !ManualRecording ()
 Finaliser. More...
 
Results::Value Refresh ()
 Refreshes this instances properties. More...
 

Package Functions

CPPCli::DataSource_GetDataSource ()
 

Package Attributes

VxSdk::IVxManualRecording_manualRecording
 

Properties

CPPCli::DataSource^  DataSource [get]
 Gets the data source that is being manually recorded. More...
 
System::String^  DataSourceId [get]
 Gets the unique identifier of the data source that is being manually recorded. More...
 
System::String^  Id [get]
 Gets the unique manual recording identifier. More...
 
System::String^  OwnerName [get]
 Gets the name of the user that created this manual recording. More...
 
System::DateTime Time [get]
 Gets the time at which this manual recording was created (not necessarily the exact time that the manual record clip starts). More...
 

Detailed Description

The ManualRecording class represents an instance of an active manual recording (the action, not the recorded clip). Each manual recording will cause its specified data source to be manually recorded by all data storages that the data source is assigned to. Only one manual recording per user per data source is allowed. A clip created via the application of a manual recording will have an event value of manual.

Definition at line 17 of file ManualRecording.h.

Constructor & Destructor Documentation

CPPCli::ManualRecording::ManualRecording ( VxSdk::IVxManualRecording vxManualRecording)

Constructor.

Parameters
vxManualRecordingThe vx manual recording.

Definition at line 8 of file ManualRecording.cpp.

8  {
9  _manualRecording = vxManualRecording;
10 }
VxSdk::IVxManualRecording * _manualRecording
virtual CPPCli::ManualRecording::~ManualRecording ( )
inlinevirtual

Destructor.

Definition at line 29 of file ManualRecording.h.

29  {
30  this->!ManualRecording();
31  }
ManualRecording(VxSdk::IVxManualRecording *vxManualRecording)
Constructor.
CPPCli::ManualRecording::!ManualRecording ( )

Finaliser.

Definition at line 12 of file ManualRecording.cpp.

12  {
14  _manualRecording = nullptr;
15 }
virtual VxResult::Value Delete() const =0
VxSdk::IVxManualRecording * _manualRecording

Member Function Documentation

CPPCli::DataSource CPPCli::ManualRecording::_GetDataSource ( )
package

Definition at line 21 of file ManualRecording.cpp.

21  {
22  // Get the data source
23  VxSdk::IVxDataSource* dataSource = nullptr;
25 
26  // Return the data source if GetDataSource was successful
27  if (result == VxSdk::VxResult::kOK)
28  return gcnew CPPCli::DataSource(dataSource);
29 
30  return nullptr;
31 }
The DataSource class represents a data producer in the system hosted by a device. Each DataSource pro...
Definition: DataSource.h:20
virtual VxResult::Value GetDataSource(IVxDataSource *&dataSource) const =0
VxSdk::IVxManualRecording * _manualRecording
CPPCli::Results::Value CPPCli::ManualRecording::Refresh ( )

Refreshes this instances properties.

Returns
The Result of updating the properties.

Definition at line 17 of file ManualRecording.cpp.

17  {
19 }
Value
Values that represent the result of calls to the VideoXpert system.
Definition: Utils.h:21
virtual VxResult::Value Refresh()=0
VxSdk::IVxManualRecording * _manualRecording

Member Data Documentation

VxSdk::IVxManualRecording* CPPCli::ManualRecording::_manualRecording
package

Definition at line 90 of file ManualRecording.h.

Property Documentation

CPPCli:: DataSource^ CPPCli::ManualRecording::DataSource
get

Gets the data source that is being manually recorded.

The data source being manually recorded.

Definition at line 48 of file ManualRecording.h.

System:: String^ CPPCli::ManualRecording::DataSourceId
get

Gets the unique identifier of the data source that is being manually recorded.

The unique identifier of the data source.

Definition at line 57 of file ManualRecording.h.

System:: String^ CPPCli::ManualRecording::Id
get

Gets the unique manual recording identifier.

The unique identifier.

Definition at line 66 of file ManualRecording.h.

System:: String^ CPPCli::ManualRecording::OwnerName
get

Gets the name of the user that created this manual recording.

The owner name.

Definition at line 75 of file ManualRecording.h.

System:: DateTime CPPCli::ManualRecording::Time
get

Gets the time at which this manual recording was created (not necessarily the exact time that the manual record clip starts).

A default DateTime if it fails, else the DateTime at which this manual recording was created.

Definition at line 84 of file ManualRecording.h.


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