Contains stack frames and other command thread data for a single command thread of a command-line interreter.
More...
|
Public Attributes inherited from IG.Lib.CommandThreadBase |
StopWatch1 | _timer |
|
Static Protected Member Functions inherited from IG.Lib.CommandThreadBase |
static int | GetNextIdThread () |
| Returns another ID that is unique for objects of the containing class its and derived classes. More...
|
|
Protected Attributes inherited from IG.Lib.CommandThreadBase |
int | _outputLevel = DefaultOutputLevel |
| Default level of output for some of the interpreters' functionality (e.g. asynchronous command execution). More...
|
|
Properties inherited from IG.Lib.CommandThread< InterpreterType, FrameType, ThreadType > |
InterpreterType | Interpreter [get, protected set] |
| Returns interpreter that handles command execution on the current command thread. More...
|
|
List< FrameType > | StackFrames [get] |
| A list of stack frames existent in the current thread. More...
|
|
FrameType | BaseFrame [get, protected set] |
| Base stack frame, created when the thread is initialized and exists until thread is exited. More...
|
|
FrameType | TopFrame [get, protected set] |
| Base stack frame, created when the thread is initialized and exists until thread is exited. More...
|
|
FrameType | this[int which] [get] |
|
Properties inherited from IG.Lib.CommandThreadBase |
int | TopFrameIndex [get, protected set] |
|
object | Lock [get] |
| This object's central lock object to be used by other object. Do not use this object for locking in class' methods, for this you should use InternalLock. More...
|
|
static object | LockIdThread [get] |
| Lock used for acquiring IDs. More...
|
|
virtual int | Id [get] |
| Unique ID for objects of the currnet and derived classes. More...
|
|
bool | WasCommandExecuted [get, set] |
| Auxiliary flag that indicates whether the last command launched on the current thread has actually been executed. More...
|
|
bool | WasBlockEnterCommand [get, set] |
| Auxiliary flag that indicates whether the last executed command was a block enter command. More...
|
|
bool | WasBlockExitCommand [get, set] |
| Auxiliary flag that indicates whether the last executed command was a block exit command. More...
|
|
List< String > | StoredPrompts [get] |
| Auxiliary list where calling environment can store prompts used e.g. in interactive mode More...
|
|
List< object > | ParameterStore [get] |
| Stored objects. More...
|
|
int | NumStoredParameters [get] |
|
bool | SuppressInteractive [get, set] |
| Indicates that the interactive mode is temporarily represset. More...
|
|
static int | DefaultOutputLevel [get, set] |
|
bool | IsOutputLevelSet [get, protected set] |
|
virtual int | OutputLevel [get, set] |
| Level of output for some of the interpreter's functionality (e.g. asynchronous command execution). More...
|
|
StopWatch1 | Timer [get] |
| Gets the stopwatch used for measuring time of commands. More...
|
|
int | Id [get] |
| Returns unique ID (in the scope of a given type) of the current object. More...
|
|
object | Lock [get] |
|
Contains stack frames and other command thread data for a single command thread of a command-line interreter.
Usually properties, index operators and methods are not thread safe. Variants whose names end with "Locked" implement locking on the CommandThreadBase.Lock property and are thus thread safe. It is not likely that locking is needed because the object will typically be used within a single thread.
- Template Parameters
-
InterpreterType | Type of the interpreter for which this class provides command thread data. |
$A Igor Sep15;