IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.
|
File analysis client. Passes direct analysis request to the server and gets analysis results from it. More...
Public Member Functions | |
OptFileAnalysisClient (string directoryPath) | |
Constructs optimization file client. | |
Protected Member Functions | |
virtual OptFileManager | CreateOptFileManager (string directoryPath) |
Creates and returns an appropriate file manager for optimization file client/server. This method must be overridden in the derived classes. | |
Properties | |
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. | |
OptFileManager | FileManager [get, set] |
Optimization client/server file manager used by the current analysis server. | |
AnalysisResults | AnalysisPoint [get, set] |
Last analysis request or results. | |
Private Member Functions | |
OptFileAnalysisClient () | |
Prevent calling argument-less constructor. | |
Private Attributes | |
object | _mainLock = new object() |
OptFileManager | _fileManager |
AnalysisResults | _analysisPoint |
File analysis client. Passes direct analysis request to the server and gets analysis results from it.
WARNING: This module is taken from Dragonfly opt. server and adapted for purpose of some projects. If necessary to further develop, synchronize (& possibly merge) with Dragonfly, otherwise there will be problems with consistent development of both branches. WARNING: Only a part of file analysis client is taken from Dragonfly, be careful with sync. (the best way is to do modifications in Dragonfly's code and then transfer them to IGLib).
$A Igor jul08 Mar11;
IG::Num::OptFileAnalysisClient::OptFileAnalysisClient | ( | ) | [inline, private] |
Prevent calling argument-less constructor.
IG::Num::OptFileAnalysisClient::OptFileAnalysisClient | ( | string | directoryPath | ) | [inline] |
Constructs optimization file client.
directoryPath | Directory where data exchange and message files are located. |
virtual OptFileManager IG::Num::OptFileAnalysisClient::CreateOptFileManager | ( | string | directoryPath | ) | [inline, protected, virtual] |
Creates and returns an appropriate file manager for optimization file client/server. This method must be overridden in the derived classes.
directoryPath | Directory where data exchange and message files are located. |
object IG::Num::OptFileAnalysisClient::_mainLock = new object() [private] |
object IG::Num::OptFileAnalysisClient::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.
Reimplemented from IG::Num::AnalysisBase.
OptFileManager IG::Num::OptFileAnalysisClient::FileManager [get, set] |
Optimization client/server file manager used by the current analysis server.
AnalysisResults IG::Num::OptFileAnalysisClient::AnalysisPoint [get, set] |
Last analysis request or results.