IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
Adapter class that wraps a single threaded command delegate and provides a multithreaded function. More...
Public Member Functions | |
CommandAdapterSingleThreaded (ApplicationCommandDelegate singleThreadedApplication, ICommandLineApplicationInterpreter interpreter=null) | |
Constructor. More... | |
string | MultiThreadedApplication (CommandThread commandThread, string commandName, string[] args) |
Converted method that can be added to a collection of multithreaded commands, and calls the original single threaded command. More... | |
Properties | |
ApplicationCommandDelegate | SingleThreadedApplication [get, protected set] |
The original single threaded command delegate that we want to install to execute commands. More... | |
ICommandLineApplicationInterpreter | Interpreter [get, protected set] |
Private Member Functions | |
CommandAdapterSingleThreaded () | |
Adapter class that wraps a single threaded command delegate and provides a multithreaded function.
$A Igor Aug08;
|
inlineprivate |
|
inline |
Constructor.
singleThreadedApplication | The delegate to handle commands (wrong type because it is single threaded). |
interpreter | Interpreter that will be used to interpret the new command. |
This argument is optional, because in most cases the interpreter will be obtained from the commad thread, which is passed to the adapted command.
|
inline |
Converted method that can be added to a collection of multithreaded commands, and calls the original single threaded command.
commandThread | |
commandName | |
args |
Referenced by IG.Lib.CommandLineApplicationInterpreter.AddCommand().
|
getprotected set |
The original single threaded command delegate that we want to install to execute commands.
|
getprotected set |