OpenTAP 9.24
API Reference
Public Member Functions | Properties | List of all members
OpenTap.SwitchMatrixPath Class Reference

Represents a specific path through a switch matrix. More...

Inheritance diagram for OpenTap.SwitchMatrixPath:
OpenTap.ViaPoint OpenTap.IConstResourceProperty

Public Member Functions

 SwitchMatrixPath (Instrument device, int row, int column)
 Initializes a new instance of the SwitchPosition class.
 
- Public Member Functions inherited from OpenTap.ViaPoint
override string ToString ()
 Returns a string describing this switch position (string.Format("{0}.{1}", this.Device.Name, this.Name)).
 
override int GetHashCode ()
 Serves as the default hash function.
 
override bool Equals (object obj)
 Determines whether the specified object is equal to the current object.
 
bool Equals (ViaPoint other)
 Determines whether the specified object is equal to the current object.
 

Properties

int Row [get]
 Row in the matrix that describes this path
 
int Column [get]
 Column in the matrix that describes this path
 
override string Name [getprotected set]
 The name of this switch path. (Note the name uses 1-based indexing to refer to the Row/Column)
 
- Properties inherited from OpenTap.ViaPoint
virtual string Name [getprotected set]
 The name of this state/mode/position in the switch. (Should be unique among ViaPoint objects on the same device/resource).
 
bool IsActive [getset]
 Indicates whether the switch is currently in this position. Should be set by the Device implementation.
 
IResource Device [getset]
 The device (usually an Instrument) on which this switch position exists.
 
- Properties inherited from OpenTap.IConstResourceProperty
IResource Device [get]
 TDevice/resource to which this object belongs.
More...
 
string Name [get]
 Name of this object (should be unique among objects of the same type on the same device/resource).

 

Detailed Description

Represents a specific path through a switch matrix.

OpenTAP 9.24 API built Tue Apr 30 2024 13:44:42