![]() |
C++/CLI Sample
Demonstrates how to create a C++/CLI library using the VideoXpert SDK
|
The AlarmInput class represents a physical alarm input. More...
#include <AlarmInput.h>
Public Types | |
enum | AlarmStates { AlarmStates::Unknown, AlarmStates::Active, AlarmStates::Inactive } |
Values that represent the state of an alarm input. More... | |
Public Member Functions | |
AlarmInput (VxSdk::IVxAlarmInput *vxAlarmInput) | |
Constructor. More... | |
virtual | ~AlarmInput () |
Destructor. More... | |
!AlarmInput () | |
Finaliser. More... | |
Results::Value | Refresh () |
Refreshes this instances properties. More... | |
Package Functions | |
CPPCli::Device^ | _GetHostDevice () |
Package Attributes | |
VxSdk::IVxAlarmInput * | _alarmInput |
Properties | |
System::String^ | Description [get, set] |
Gets or sets the friendly description of the alarm input. More... | |
CPPCli::Device^ | HostDevice [get] |
Gets the device that hosts this alarm input. More... | |
System::String^ | Id [get] |
Gets the unique alarm input identifier. More... | |
System::String^ | Name [get, set] |
Gets or sets the friendly name. More... | |
AlarmStates | State [get] |
Gets the current state of this alarm input. More... | |
The AlarmInput class represents a physical alarm input.
Definition at line 14 of file AlarmInput.h.
|
strong |
Values that represent the state of an alarm input.
Enumerator | |
---|---|
Unknown |
An error or unknown value was returned. |
Active |
The alarm input is active. |
Inactive |
The alarm input is inactive. |
Definition at line 20 of file AlarmInput.h.
CPPCli::AlarmInput::AlarmInput | ( | VxSdk::IVxAlarmInput * | vxAlarmInput | ) |
Constructor.
vxAlarmInput | The vx alarm input. |
Definition at line 9 of file AlarmInput.cpp.
|
inlinevirtual |
Destructor.
Definition at line 40 of file AlarmInput.h.
CPPCli::AlarmInput::!AlarmInput | ( | ) |
|
package |
Definition at line 22 of file AlarmInput.cpp.
CPPCli::Results::Value CPPCli::AlarmInput::Refresh | ( | ) |
Refreshes this instances properties.
Definition at line 18 of file AlarmInput.cpp.
|
package |
Definition at line 111 of file AlarmInput.h.
|
getset |
Gets or sets the friendly description of the alarm input.
The friendly description.
Definition at line 59 of file AlarmInput.h.
|
get |
Gets the device that hosts this alarm input.
The host device.
Definition at line 73 of file AlarmInput.h.
|
get |
Gets the unique alarm input identifier.
The unique identifier.
Definition at line 82 of file AlarmInput.h.
|
getset |
|
get |
Gets the current state of this alarm input.
The alarm input state.
Definition at line 105 of file AlarmInput.h.