VideoXpert SDK  2.0
A software development kit for third party vendors to integrate with the VideoXpert platform
VxSdk::IVxRelayOutput Struct Referenceabstract

Represents a physical relay output. More...

#include <IVxRelayOutput.h>

Public Member Functions

virtual VxResult::Value Activate ()=0
 Activate this relay output. More...
 
virtual VxResult::Value Deactivate ()=0
 Deactivate this relay output. More...
 
virtual VxResult::Value Delete () const =0
 Deletes this instance. More...
 
virtual VxResult::Value GetHostDevice (IVxDevice *&hostDevice) const =0
 Gets the IVxDevice that hosts this relay output. More...
 
virtual VxResult::Value Refresh ()=0
 Refreshes the member values for this object by retrieving its current information from the VideoXpert system. More...
 
virtual VxResult::Value SetDescription (char description[255])=0
 Sets the description property. More...
 
virtual VxResult::Value SetName (char name[64])=0
 Sets the name property. More...
 

Public Attributes

char description [255]
 The friendly description of the relay output. More...
 
char id [64]
 The unique identifier of the relay output. More...
 
char name [64]
 The friendly name of the relay output. More...
 
VxRelayState::Value state
 The current state of the relay output. More...
 

Protected Member Functions

void Clear ()
 Clears this instance. More...
 

Detailed Description

Represents a physical relay output.

Definition at line 12 of file IVxRelayOutput.h.

Member Function Documentation

virtual VxResult::Value VxSdk::IVxRelayOutput::Activate ( )
pure virtual

Activate this relay output.

Returns
The Result of activating this relay output.
void VxSdk::IVxRelayOutput::Clear ( )
inlineprotected

Clears this instance.

Definition at line 75 of file IVxRelayOutput.h.

75  {
76  VxZeroArray(this->description);
77  VxZeroArray(this->id);
78  VxZeroArray(this->name);
80  }
#define VxZeroArray(src)
Definition: VxMacros.h:25
An error or unknown value was returned.
Definition: VxPrimitives.h:604
char name[64]
The friendly name of the relay output.
char description[255]
The friendly description of the relay output.
VxRelayState::Value state
The current state of the relay output.
virtual VxResult::Value VxSdk::IVxRelayOutput::Deactivate ( )
pure virtual

Deactivate this relay output.

Returns
The Result of deactivating this relay output.
virtual VxResult::Value VxSdk::IVxRelayOutput::Delete ( ) const
pure virtual

Deletes this instance.

Returns
The Result of deleting this instance.
virtual VxResult::Value VxSdk::IVxRelayOutput::GetHostDevice ( IVxDevice *&  hostDevice) const
pure virtual

Gets the IVxDevice that hosts this relay output.

Parameters
hostDeviceThe host IVxDevice.
Returns
The Result of the request.
virtual VxResult::Value VxSdk::IVxRelayOutput::Refresh ( )
pure virtual

Refreshes the member values for this object by retrieving its current information from the VideoXpert system.

Returns
The Result of refreshing the member values for this object.
virtual VxResult::Value VxSdk::IVxRelayOutput::SetDescription ( char  description[255])
pure virtual

Sets the description property.

Parameters
descriptionThe new description value.
Returns
The Result of setting the property.
virtual VxResult::Value VxSdk::IVxRelayOutput::SetName ( char  name[64])
pure virtual

Sets the name property.

Parameters
nameThe new name value.
Returns
The Result of setting the property.

Member Data Documentation

char VxSdk::IVxRelayOutput::description[255]

The friendly description of the relay output.

Definition at line 57 of file IVxRelayOutput.h.

char VxSdk::IVxRelayOutput::id[64]

The unique identifier of the relay output.

Definition at line 61 of file IVxRelayOutput.h.

char VxSdk::IVxRelayOutput::name[64]

The friendly name of the relay output.

Definition at line 65 of file IVxRelayOutput.h.

VxRelayState::Value VxSdk::IVxRelayOutput::state

The current state of the relay output.

Definition at line 69 of file IVxRelayOutput.h.


The documentation for this struct was generated from the following file: