API C#
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Kinova.DLL.TestData.Instruction.CBasicInstruction Class Referenceabstract

This is the most basic test instruction. It contains everything a test instruction need to be managed and executed. Every test instruction should inherits from this class. More...

Inheritance diagram for Kinova.DLL.TestData.Instruction.CBasicInstruction:
Kinova.DLL.TestData.Instruction.CDaqInstruction Kinova.DLL.TestData.Instruction.CDaqWaitInstruction Kinova.DLL.TestData.Instruction.CDoneInstruction Kinova.DLL.TestData.Instruction.CDSPInstruction Kinova.DLL.TestData.Instruction.CPassFailInstruction Kinova.DLL.TestData.Instruction.CReadInstruction Kinova.DLL.TestData.Instruction.CTextInstruction Kinova.DLL.TestData.Instruction.CWaitInstruction

Public Member Functions

 CBasicInstruction ()
 Initializes a new instance of the CBasicInstruction class. More...
 
abstract void Init ()
 Initialize all members of the instance. More...
 
abstract bool EvaluateInstruction ()
 Evaluates the instruction and return the result. More...
 
abstract CTest GetTestStructure ()
 This method extracts a CTest structure from the current instruction. More...
 
abstract void ResetInstruction ()
 This method reset the current instruction. More...
 

Properties

CInstructionDataTypes.InstructionType Type [get, set]
 The type of test instruction. More...
 
List< int > Index [get, set]
 Index of the instruction listed by the level of indexation. More...
 
string Title [get, set]
 The title of the test instruction. Basically, this is what you will be displayed More...
 
bool HasBeenExecuted [get, set]
 Indicates if the instruction has been executed. More...
 
bool IsSub [get, set]
 Indicates if this instruction is a sub instruction More...
 
string Comment [get, set]
 A general comment about the instruction. More...
 
DateTime StartTime [get, set]
 A timestamp to store the starttime of the instruction. More...
 
DateTime StopTime [get, set]
 A timestamp to store the starttime of the instruction. More...
 
bool Result [get, set]
 Indicates if the instruction PASSED or FAILED. More...
 

Detailed Description

This is the most basic test instruction. It contains everything a test instruction need to be managed and executed. Every test instruction should inherits from this class.

Constructor & Destructor Documentation

Kinova.DLL.TestData.Instruction.CBasicInstruction.CBasicInstruction ( )

Initializes a new instance of the CBasicInstruction class.

Member Function Documentation

Property Documentation

string Kinova.DLL.TestData.Instruction.CBasicInstruction.Comment
getset

A general comment about the instruction.

bool Kinova.DLL.TestData.Instruction.CBasicInstruction.HasBeenExecuted
getset

Indicates if the instruction has been executed.

List<int> Kinova.DLL.TestData.Instruction.CBasicInstruction.Index
getset

Index of the instruction listed by the level of indexation.

bool Kinova.DLL.TestData.Instruction.CBasicInstruction.IsSub
getset

Indicates if this instruction is a sub instruction

bool Kinova.DLL.TestData.Instruction.CBasicInstruction.Result
getset

Indicates if the instruction PASSED or FAILED.

DateTime Kinova.DLL.TestData.Instruction.CBasicInstruction.StartTime
getset

A timestamp to store the starttime of the instruction.

DateTime Kinova.DLL.TestData.Instruction.CBasicInstruction.StopTime
getset

A timestamp to store the starttime of the instruction.

string Kinova.DLL.TestData.Instruction.CBasicInstruction.Title
getset

The title of the test instruction. Basically, this is what you will be displayed

CInstructionDataTypes.InstructionType Kinova.DLL.TestData.Instruction.CBasicInstruction.Type
getset

The type of test instruction.


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