Program: bbtk
Module: $RCSfile: bbtkComplexBlackBox.h,v $
Language: C++
- Date: $Date: 2008/01/22 15:02:00 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2008/04/09 11:16:57 $
+ Version: $Revision: 1.2 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
// PUBLIC PART : ACCESSIBLE TO THE END-USER
/// Returns the pointer on the box' descriptor
BlackBoxDescriptor* bbGetDescriptor() const { return mDescriptor; }
+ /// Returns a pointer on a new instance with name <name>
+ //BlackBox* bbNew(const std::string& name);
/// Returns a pointer on a clone of the box with name <name>
BlackBox* bbClone(const std::string& name);
void* data,
bool setModified = true);
- ~ComplexBlackBox();
+ /// Connects the input <name> to the connection c
+ virtual void bbConnectInput( const std::string& name, Connection* c);
+ /// Connects the output <name> to the connection c
+ virtual void bbConnectOutput( const std::string& name, Connection* c);
BlackBox* bbGetBlackBox( const std::string& name );
virtual BlackBox *bbFindBlackBox(const std::string &blackboxname);
+ void Check(bool recursive=true);
protected:
//==================================================================
ComplexBlackBox(const std::string &name, ComplexBlackBoxDescriptor* desc);
/// Constructor from an existing box (copy) with a new name
ComplexBlackBox(ComplexBlackBox& from, const std::string &name);
+ //
+ ~ComplexBlackBox();
public: