SECI  1
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | List of all members
Seci.LabView.Controls.LvEnum Class Reference

This class inherits from LVControl class and is specialised for Enum controls. More...

Inheritance diagram for Seci.LabView.Controls.LvEnum:
Inheritance graph
Collaboration diagram for Seci.LabView.Controls.LvEnum:
Collaboration graph

Public Member Functions

override String GetControlType ()
 
override String GetNameAndType ()
 Overriden method which return the name and type of the control. More...
 
 LvEnum (String name, SerialisableList< int > indices)
 Constructor More...
 
- Public Member Functions inherited from Seci.LabView.Controls.LvControl
virtual String[] GetValue (ref strongnameLabview.VirtualInstrument vi)
 Method for returning a value from the actual front panel control which this class corresponds to. More...
 
virtual void SetValue (ref strongnameLabview.VirtualInstrument vi, Object value)
 Virtual method for setting a value on the actual front panel control which this class corresponds to. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Seci.LabView.Controls.LvControl
Object[] GetValueFromCluster (strongnameLabview.VirtualInstrument vi)
 Method for returning a cluster value from the front panel. The cluster contains the required control value for this class. More...
 
void SetValueInCluster (ref strongnameLabview.VirtualInstrument vi, Object value)
 Method for setting a value in a cluster. Individual values in the cluster cannot be set, the whole thing must be set. This method reads the whole cluster, changes the relevant value and sends the whole cluster back. There is a risk that the actual cluster may have be changed between the reading and writing, and those changes will be overwritten with the older values. As this method is quick it is hoped that this won't be a problem. A better solution would be not to have clusters that contain values that might need to be set via DCOM, but this is not always possible. More...
 
- Protected Attributes inherited from Seci.LabView.Controls.LvControl
SerialisableList< int > _clusterIndices
 If the control is in a cluster then the index is stored in a SerialisableList. A SerialisableList is used as it provides a Clone method. More...
 
String _name
 The name of the control. More...
 
- Properties inherited from Seci.LabView.Controls.LvControl
String Name [get]
 

Detailed Description

This class inherits from LVControl class and is specialised for Enum controls.

Definition at line 11 of file LVEnum.cs.

Constructor & Destructor Documentation

Seci.LabView.Controls.LvEnum.LvEnum ( String  name,
SerialisableList< int >  indices 
)
inline

Constructor

Parameters
nameThe control name
indicesThe indices to find this control if it is in a cluster

Definition at line 18 of file LVEnum.cs.

Member Function Documentation

override String Seci.LabView.Controls.LvEnum.GetControlType ( )
inlinevirtual

Implements Seci.LabView.Controls.LvControl.

Definition at line 37 of file LVEnum.cs.

override String Seci.LabView.Controls.LvEnum.GetNameAndType ( )
inlinevirtual

Overriden method which return the name and type of the control.

Returns
String of the form "Name (Enum)"

Implements Seci.LabView.Controls.LvControl.

Definition at line 32 of file LVEnum.cs.


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