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