Class to perform a database export from a VMS server to a local disk. More...
Public Member Functions | |
virtual void | Cancel () |
Cancels the current export operation. | |
virtual void | Close () |
Uninitialize managed wrapper. Should be called when done using any instance of Exporter, for example at exit. | |
DBExporter () | |
Create database exporter for database in BLK file format. | |
DBExporter (bool blkFormat) | |
Create database exporter for database in BLK file format. | |
virtual void | EndExport () |
Ends and cleans up the current export operation. | |
virtual void | Init () |
Initializes the class and any underlaying classes. | |
virtual bool | StartExport (DateTime start, DateTime end) |
Exports the currently defined devices as a Milestone database. Returns error if already in progress. | |
![]() |
Properties | |
virtual List< Item > | AudioList [get, set] |
The list of audio sources to export. Can be both microphones and Speakers. | |
virtual List< Item > | CameraList [get, set] |
The list of cameras to export. | |
virtual bool | Compression [get, set] |
Set to True, if exported database is to be compressed. Note: Unsupported from Smart Client 7.0. | |
virtual bool | Encryption [get, set] |
Set to True if Encryption is required, also set the Password. | |
virtual EncryptionStrength | EncryptionStrength [get, set] |
Specifies the encryption strength. This property is valid for Smart Client plug-ins and standalone applications. Default value is DES-56 bit. | |
virtual string | ExportName [get, set] |
Specific the name of the export. This value is used as a part of the path and a the name of the optical disc. This property is valid for Smart Client plug-ins only. Default value is a construction of current Date and Time. | |
virtual bool | ExportToDisk [get, set] |
Specifies whether to export hard disk. The path of where to store the export is defined in the Path property. This property is valid for Smart Client plug-ins. Default value is true. | |
virtual bool | ExportToMediaBurner [get, set] |
Specifies whether to export to an optical disc (i.e. DVD). The drive letter of where to burn the export is defined in the MediaBurnerDriverLetter property. This property is valid for Smart Client plug-ins only. Default value is false. | |
virtual bool | IncludeBookmarks [get, set] |
Specifies if the export should include bookmarks. | |
virtual bool | IncludePlayer [get, set] |
Specifies whether to include the Smart Client - Player or not. This property is valid for Smart Client plug-ins only. Default value is false. | |
virtual int | LastDetailedError [get] |
Gets the last export detailed error as a number. | |
virtual int | LastError [get] |
Gets the last export error as a number. | |
virtual string | LastErrorString [get] |
Gets the last export error as an English string. | |
virtual int | LastWarning [get] |
Get the last warning, if any. | |
virtual char | MediaBurnerDriverLetter [get, set] |
When the ExportToMediaBurner is set to true, the MediaBurnerDriverLetter is used to identify which burner to use. This property is valid for Smart Client plug-ins only. There is no default value, must be specified for MediaBurner exports. | |
virtual List< Item > | MetadataList [get, set] |
The list of metadata sources to export. | |
virtual string | Password [get, set] |
The password used for encryption. If not set, the export will not be encrypted. | |
virtual string | Path [get, set] |
Where to store the export on hard disk. Used when the ExportToDisk is true. | |
virtual bool | PreventReExport [get, set] |
Specifies whether to prevent the end user from doing a new export from the Smart Client Player. Default is false (allow reexport). Only support for BLK format exports. | |
virtual String | PrivacyMask [get, set] |
An additional mask to be applied on all images. | |
virtual int | Progress [get] |
Gets the updated progress in percent. | |
virtual bool | SignExport [get, set] |
Specifies if the export should be signed. | |
virtual string[] | ViewerPaths [get, set] |
The path to the Viewer, and any language paths that should also be exported. Notice that the Viewer is no longer distributed with the Smart Client, and this field is ignored. | |
![]() |
Class to perform a database export from a VMS server to a local disk.
|
inline |
Create database exporter for database in BLK file format.
|
inline |
Create database exporter for database in BLK file format.
blkFormat | This parameter is ignored. The export will always be in BLK format |
|
inlinevirtual |
Cancels the current export operation.
Implements VideoOS.Platform.Data.IExporter.
|
inlinevirtual |
Uninitialize managed wrapper. Should be called when done using any instance of Exporter, for example at exit.
Implements VideoOS.Platform.Data.IExporter.
|
inlinevirtual |
Ends and cleans up the current export operation.
Implements VideoOS.Platform.Data.IExporter.
|
inlinevirtual |
Initializes the class and any underlaying classes.
Implements VideoOS.Platform.Data.IExporter.
|
inlinevirtual |
Exports the currently defined devices as a Milestone database. Returns error if already in progress.
start | The start time. |
end | The end time. |
Implements VideoOS.Platform.Data.IExporter.
|
getset |
The list of audio sources to export. Can be both microphones and Speakers.
Implements VideoOS.Platform.Data.IExporter.
|
getset |
The list of cameras to export.
When executing in the Smart Client, the related audio sources are automatically included.
Implements VideoOS.Platform.Data.IExporter.
|
getset |
Set to True, if exported database is to be compressed.
Note: Unsupported from Smart Client 7.0.
|
getset |
Set to True if Encryption is required, also set the Password.
|
getset |
Specifies the encryption strength.
This property is valid for Smart Client plug-ins and standalone applications.
Default value is DES-56 bit.
|
getset |
Specific the name of the export. This value is used as a part of the path and a the name of the optical disc.
This property is valid for Smart Client plug-ins only.
Default value is a construction of current Date and Time.
|
getset |
Specifies whether to export hard disk.
The path of where to store the export is defined in the Path property.
This property is valid for Smart Client plug-ins.
Default value is true.
|
getset |
Specifies whether to export to an optical disc (i.e. DVD).
The drive letter of where to burn the export is defined in the MediaBurnerDriverLetter property.
This property is valid for Smart Client plug-ins only.
Default value is false.
|
getset |
Specifies if the export should include bookmarks.
This option is only available for exports in BLK format.
Default value is false
|
getset |
|
get |
Gets the last export detailed error as a number.
The last error.
Implements VideoOS.Platform.Data.IExporter.
|
get |
|
get |
Gets the last export error as an English string.
The last error.
Implements VideoOS.Platform.Data.IExporter.
|
get |
Get the last warning, if any.
|
getset |
When the ExportToMediaBurner is set to true, the MediaBurnerDriverLetter is used to identify which burner to use.
This property is valid for Smart Client plug-ins only.
There is no default value, must be specified for MediaBurner exports.
|
getset |
The list of metadata sources to export.
|
getset |
The password used for encryption. If not set, the export will not be encrypted.
|
getset |
Where to store the export on hard disk.
Used when the ExportToDisk is true.
Implements VideoOS.Platform.Data.IExporter.
|
getset |
Specifies whether to prevent the end user from doing a new export from the Smart Client Player.
Default is false (allow reexport).
Only support for BLK format exports.
|
getset |
An additional mask to be applied on all images.
Any mask defined on the server is applied as well.
The format contains a size definition and a series of rows, seperated by ';'
A 3 by 3 grid with top right square masked out is defined by:
3x3;001;000;000
|
get |
Gets the updated progress in percent.
The percent done. Out of range 0-100 means error. -2 means uninitialized.
Implements VideoOS.Platform.Data.IExporter.
|
getset |
Specifies if the export should be signed.
This option is only available for exports in BLK format.
Default value is false
|
getset |
The path to the Viewer, and any language paths that should also be exported. Notice that the Viewer is no longer distributed with the Smart Client, and this field is ignored.