Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
/// Sets the inputs of the workspace :
virtual void SetInputs(const std::map<std::string,std::string>& m) = 0;
/// Sets the inputs of the workspace :
virtual void SetInputs(const std::map<std::string,std::string>& m) = 0;
virtual void Define (const std::string &name,
const std::string& pack,
const std::string &scriptfilename) = 0;
virtual void Define (const std::string &name,
const std::string& pack,
const std::string &scriptfilename) = 0;
const std::string &input,
const std::string &value) = 0;
const std::string &input,
const std::string &value) = 0;
virtual std::string Get (const std::string &box,
const std::string &output) = 0;
/// changes the workspace name
virtual void SetWorkspaceName( const std::string& n ) = 0;
virtual std::string Get (const std::string &box,
const std::string &output) = 0;
/// changes the workspace name
virtual void SetWorkspaceName( const std::string& n ) = 0;
const std::string &custom_title,
bool system_display = true) = 0;
const std::string &custom_title,
bool system_display = true) = 0;
virtual std::string ShowGraphInstances(const std::string &nameblackbox, int detail, int level, bool system_display=true) = 0;
virtual std::string ShowGraphInstances(const std::string &nameblackbox, int detail, int level, bool system_display=true) = 0;
virtual void ShowRelations(const std::string &nameblackbox, const std::string &detailStr, const std::string &levelStr) = 0;
virtual void Reset() = 0;
virtual void ShowRelations(const std::string &nameblackbox, const std::string &detailStr, const std::string &levelStr) = 0;
virtual void Reset() = 0;
// static const std::string& GetObjectDescription() = 0;
// { static std::string s("VirtualExec"); return s; }
// static const std::string& GetObjectDescription() = 0;
// { static std::string s("VirtualExec"); return s; }
/// The root ComplexBlackBox, in which operations are done when outside a define/endefine block
/// Its name in bbi is 'workspace'
ComplexBlackBoxDescriptor* mRoot;
/// The root ComplexBlackBox, in which operations are done when outside a define/endefine block
/// Its name in bbi is 'workspace'
ComplexBlackBoxDescriptor* mRoot;
/// The stack of current working ComplexBlackBox
/// (is a stack for nested definitions)
/// only contains the root when outside a define/endefine block
/// The stack of current working ComplexBlackBox
/// (is a stack for nested definitions)
/// only contains the root when outside a define/endefine block
- std::deque<CBBDefinition> mCurrent;
+ std::deque<CBBDefinition> mOpenDefinition;
+
+ /// The stack of current working package
+ /// (is a stack for nested definitions)
+ std::deque<Package*> mOpenPackage;