⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 serialexecutor.h

📁 粗糙集应用软件
💻 H
字号:
//-------------------------------------------------------------------
// Author........: Aleksander 豩rn
// Date..........:
// Description...:
// Revisions.....:
//===================================================================

#ifndef __SERIALEXECUTOR_H__
#define __SERIALEXECUTOR_H__

#include <copyright.h>

#include <kernel/algorithms/executor.h>

//-------------------------------------------------------------------
// Class.........: SerialExecutor
// Author........: Aleksander 豩rn
// Date..........:
// Description...: Executes a pipeline sequence of commands.
// Revisions.....:
//===================================================================

class SerialExecutor : public Executor {
protected:

	//- Parameters.....................................................
	String              logfile_; // Location of log file.

protected:

  //- Methods inherited from Executor................................
	virtual Structure  *ExecuteCommands(Structure &structure, const Algorithm::Handles &algorithms, const Vector(String) &parameters, ofstream &stream) const;

  //- New virtual methods............................................
	virtual bool        SetSpecialParameters(Algorithm &algorithm, const String &parameters) const;
	virtual Structure  *ExecuteCommands(Structure &structure, const Algorithm::Handles &algorithms, const Vector(String) &parameters, ofstream &stream, bool remove) const;

protected:

	//- Friend declaration (ugly hack).................................
	friend class SerialExecutorLoop;

public:

  //- Constructors/destructor........................................
  SerialExecutor();
  virtual ~SerialExecutor();

  //- Methods inherited from Identifier..............................
	DECLAREIDMETHODS()

  //- Methods inherited from Algorithm..............................
	virtual String      GetParameters() const;
	virtual bool        SetParameter(const String &keyword, const String &value);

};

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -