OpenTAP 9.27
API Reference
Protected Member Functions | List of all members
OpenTap.InstrumentSettings Class Reference

Settings governing configured instruments. These are usually configured by the user.. More...

Inheritance diagram for OpenTap.InstrumentSettings:
OpenTap.ComponentSettingsList< InstrumentSettings, IInstrument >

Protected Member Functions

override void OnCollectionChanged (object sender, NotifyCollectionChangedEventArgs e)
 When the instrument settings list is modified some ports being used by connections might disappear. In that case we need to remove the ports from the connections.
 

Additional Inherited Members

- Public Member Functions inherited from OpenTap.ComponentSettingsList< InstrumentSettings, IInstrument >
GetDefault< T > ()
 Gets the first or default instance in the component settings list. More...
 
 ComponentSettingsList ()
 Initializes the list.
 
void Add (ContainedType item)
 Adds an element to the collection. More...
 
int Add (object value)
 Adds an element to the collection. More...
 
void Clear ()
 Removes all elements from the collection.
 
bool Contains (ContainedType item)
 Determines if the collection contains the specified element. More...
 
bool Contains (object value)
 Determines if the collection contains the specified element. More...
 
void CopyTo (ContainedType[] array, int arrayIndex)
 Copies the collection to a compatible array. More...
 
void CopyTo (Array array, int index)
 Copies the collection to a compatible array. More...
 
bool Remove (ContainedType item)
 Removes the first occurrence of a specified element from the collection. More...
 
void Remove (object value)
 Removes the first occurrence of a specified element from the collection. More...
 
IEnumerator< ContainedType > GetEnumerator ()
 Returns an IEnumerator that iterates through the collection. More...
 
int IndexOf (ContainedType item)
 Returns the index of the first occurrences of a specified element in the collection. More...
 
int IndexOf (object value)
 Returns the index of the first occurrences of a specified element in the collection. More...
 
void Insert (int index, ContainedType item)
 Insert an element into the collection at the specified index. More...
 
void Insert (int index, object value)
 Insert an element into the collection at the specified index. More...
 
void RemoveAt (int index)
 Removes an element at a specified index. More...
 
- Static Public Member Functions inherited from OpenTap.ComponentSettingsList< InstrumentSettings, IInstrument >
static IList GetContainer (Type T)
 Finds a ComponentSettingsList containing instances of T. More...
 
static IList< T > GetItems< T > ()
 Gets the ComponentSettings list for T and filters the instances that are not T. More...
 
static IList GetItems (Type T)
 (non-generic) Gets the ComponentSettings list for T and filters the instances that are not T. More...
 
static T GetDefaultOf< T > ()
 Static Get first or default instance in the component settings list. (uses GetCurrent) More...
 
- Properties inherited from OpenTap.ComponentSettingsList< InstrumentSettings, IInstrument >
int Count [get]
 Gets the number of elements in the collection.
 
bool IsReadOnly [get]
 Determines if the collection is read only.
 
ContainedType this[int index] [getset]
 List interface More...
 
bool IsFixedSize [get]
 Determines if the collection is fixed size.
 
bool IsSynchronized [get]
 Determines if the collection is synchronized.
 
object SyncRoot [get]
 Gets an object that can be used to synchronize access the collection.
 
- Events inherited from OpenTap.ComponentSettingsList< InstrumentSettings, IInstrument >
NotifyCollectionChangedEventHandler CollectionChanged
 Invoked when collection is changed.
 

Detailed Description

Settings governing configured instruments. These are usually configured by the user..

OpenTAP 9.27 API built Wed Nov 27 2024 13:14:45