![]() |
C++/CLI Sample
Demonstrates how to create a C++/CLI library using the VideoXpert SDK
|
The Device class represents a particular physical device in the system. More...
#include <Device.h>
Public Types | |
enum | DeviceStatus { DeviceStatus::Unknown, DeviceStatus::Initializing, DeviceStatus::Unauthenticated } |
Values that represent the operational state of a device. More... | |
enum | Types { Types::Camera, Types::Core, Types::CoreMg, Types::Decoder, Types::Encoder, Types::External, Types::Manager, Types::Mg, Types::Monitor, Types::Recorder, Types::Udi, Types::Ui, Types::Unknown, Types::Vcd } |
Values that represent device types. More... | |
Public Member Functions | |
Device (VxSdk::IVxDevice *vxDevice) | |
Constructor. More... | |
virtual | ~Device () |
Destructor. More... | |
!Device () | |
Finaliser. More... | |
Results::Value | Refresh () |
Refreshes this instances properties. More... | |
Package Functions | |
System::Collections::Generic::List< AlarmInput^ >^ | _GetAlarmInputs () |
System::Collections::Generic::List< DataSource^ >^ | _GetDataSources () |
System::Collections::Generic::List< DeviceAssignment^ >^ | _GetDeviceAssignments () |
System::Collections::Generic::List< RelayOutput^ >^ | _GetRelayOutputs () |
Package Attributes | |
VxSdk::IVxDevice * | _device |
Properties | |
System::Collections::Generic::List< AlarmInput^ >^ | AlarmInputs [get] |
Gets the alarm inputs hosted by this device. More... | |
System::Collections::Generic::List< DataSource^ >^ | DataSources [get] |
Gets the data sources hosted by this device. More... | |
System::Collections::Generic::List< DeviceAssignment^ >^ | DeviceAssignments [get] |
Gets the assignments to a data storage for this device. More... | |
System::String^ | DriverDeviceId [get] |
Gets the driver device identifier. More... | |
System::String^ | Id [get] |
Gets the unique identifier of the device. More... | |
System::String^ | Ip [get] |
Gets the IP of the device. More... | |
bool | IsCommissioned [get] |
Gets a value indicating whether the device is commissioned. More... | |
bool | IsLicenseRequired [get] |
Gets a value indicating whether a license is required for commissioning the device. More... | |
bool | IsPelcoHardware [get] |
Gets a value indicating whether the device is running on Pelco hardware. More... | |
System::String^ | Model [get] |
Gets the device model. More... | |
System::String^ | Name [get, set] |
Gets or sets the friendly name of the device. More... | |
System::String^ | Password [set] |
Sets the account password used to communicate with the device, if any. More... | |
System::Collections::Generic::List< RelayOutput^ >^ | RelayOutputs [get] |
Gets the relay outputs hosted by this device. More... | |
System::String^ | Serial [get] |
Gets the serial number. More... | |
DataSource::States | State [get] |
Gets the current operational state of the device. More... | |
System::Collections::Generic::List< DeviceStatus >^ | Status [get] |
Gets the current device status. More... | |
Types | Type [get] |
Gets the type of device. More... | |
System::String^ | Username [get, set] |
Gets or sets the account username used to communicate with the device, if any. More... | |
System::String^ | Vendor [get] |
Gets the device vendor, if any. More... | |
System::String^ | Version [get] |
Gets the current version of software running on the device. More... | |
System::String^ | VirtualIp [get] |
Gets the virtual IP of the device, if any. More... | |
The Device class represents a particular physical device in the system.
|
strong |
|
strong |
Values that represent device types.
CPPCli::Device::Device | ( | VxSdk::IVxDevice * | vxDevice | ) |
|
inlinevirtual |
CPPCli::Device::!Device | ( | ) |
|
package |
Definition at line 21 of file Device.cpp.
|
package |
Definition at line 45 of file Device.cpp.
|
package |
Definition at line 69 of file Device.cpp.
|
package |
Definition at line 93 of file Device.cpp.
CPPCli::Results::Value CPPCli::Device::Refresh | ( | ) |
Refreshes this instances properties.
Definition at line 17 of file Device.cpp.
|
package |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
getset |
|
set |
|
get |
|
get |
|
get |
|
get |
|
get |
|
getset |
|
get |
|
get |
|
get |