Program: bbtk
Module: $RCSfile: bbtkVirtualExec.h,v $ $
Language: C++
- Date: $Date: 2008/03/07 08:40:14 $
- Version: $Revision: 1.8 $
+ Date: $Date: 2008/03/26 08:27:19 $
+ Version: $Revision: 1.9 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
/// Sets the mode of dialog of the executer for Root inputs
virtual void SetDialogMode(DialogModeType t) = 0;
+ //=================================================================
+ /// Loads a package
+ virtual void LoadPackage(const std::string &name ) = 0;
+
+ /// Unloads a package
+ virtual void UnLoadPackage(const std::string &name ) = 0;
+
/// Starts a package block
virtual void BeginPackage (const std::string &name ) = 0;
boxName) = 0;
/// Destroys a black box
- //virtual void Destroy (const std::string &boxName) = 0;
+ virtual void Destroy (const std::string &boxName) = 0;
/// Connects the output boxOutput to the input boxInput
virtual void Connect (const std::string &boxfrom,
const std::string &boxto,
const std::string &input) = 0;
- /// Updates the box
- /// would 'Execute' be more meaningfull ?
- virtual void Update (const std::string &box) = 0;
+ /// Executes the box
+ virtual void Execute (const std::string &box) = 0;
/// Defines an input of the current complex box
virtual void DefineInput (const std::string &name,
/// Generate a HTML with a gif file with the actual pipeline (Graphviz-dot needed). Returns the file path
virtual std::string ShowGraphInstances(const std::string &nameblackbox, int detail, int level, bool system_display=true) = 0;
- /// Description of the actual pipeline
- virtual void ShowRelations(const std::string &nameblackbox, const std::string &detailStr, const std::string &levelStr) = 0;
-
- virtual void Reset() = 0;
+ /// Description of the actual pipeline
+ virtual void ShowRelations(const std::string &nameblackbox, const std::string &detailStr, const std::string &levelStr) = 0;
+
+ virtual void Reset() = 0;
+
+ /// Sets the level of message for kind
+ virtual void SetMessageLevel(const std::string &kind, int level) = 0,;
+
+ /// Prints help on the messages
+ virtual void HelpMessages() = 0;
+ /// Prints the string ... MORE : TO EXPLAIN
+ virtual void Print(const std::string & message) = 0;
+
// static const std::string& GetObjectDescription() = 0;
// { static std::string s("VirtualExec"); return s; }
protected: