Program: bbtk
Module: $RCSfile: bbtkTranscriptor.h,v $ $
Language: C++
- Date: $Date: 2008/03/26 14:47:36 $
- Version: $Revision: 1.8 $
+ Date: $Date: 2008/10/02 07:43:21 $
+ Version: $Revision: 1.11 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
class /*BBTK_EXPORT*/ Transcriptor : public VirtualExec
{
-
+ BBTK_OBJECT_INTERFACE(Transcriptor);
+ typedef VirtualExec Superclass;
public:
+ static Pointer New(const std::string& filename);
- /// Constructor
- Transcriptor(std::string filename);
-
- /// Destructor
- ~Transcriptor( );
/// Sets the inputs of the workspace :
void SetInputs(const std::map<std::string,std::string>& m) { mInputs = m; }
m_Fp << " e->SetNoExecMode(false);" << std::endl;
}
- bool GetNoExecMode() const { return mNoExecMode; }
+ void SetNoErrorMode(bool b)
+ {
+ if (b)
+ m_Fp << " e->SetNoErrorMode(true);" << std::endl;
+ else
+ m_Fp << " e->SetNoErrorMode(false);" << std::endl;
+ }
+
+ bool GetNoExecMode() const { return false; }
+ bool GetNoErrorMode() const { return false; }
/// Sets the mode of dialog of the executer for Root inputs
void SetDialogMode(DialogModeType t) { mDialogMode = t; }
/// End the definition of a ComplexBlackBox
void EndDefine ();
+ /// Sets the kind of the currently defined ComplexBlackBox
+ void Kind(const std::string& kind);
+
/// Creates a new black box in current complex box
void Create ( const std::string& boxType, const std::string& boxName);
protected:
private:
+ /// Constructor
+ Transcriptor(const std::string& filename);
/// The input values of the Root ComplexBlackBox
std::map<std::string,std::string> mInputs;
- /// no exec mode flag
- bool mNoExecMode;
-
/// Dialog mode
DialogModeType mDialogMode;