1 /*=========================================================================
4 Module: $RCSfile: bbtkUserBlackBoxOutputDescriptor.cxx,v $
6 Date: $Date: 2008/01/22 15:02:00 $
7 Version: $Revision: 1.1 $
9 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10 l'Image). All rights reserved. See Doc/License.txt or
11 http://www.creatis.insa-lyon.fr/Public/bbtk/License.html for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notices for more information.
17 =========================================================================*/
21 * \brief Class bbtk::UserBlackBoxOutputDescriptor : structure containing the description of a UserBlackBox output (name, description, type, functor)
23 #include "bbtkUserBlackBoxOutputDescriptor.h"
30 UserBlackBoxOutputDescriptor::UserBlackBoxOutputDescriptor( const std::string& name,
31 const std::string& description,
32 UserBlackBoxGetFunctor* getfunctor,
33 UserBlackBoxSetFunctor* setfunctor,
36 BlackBoxOutputDescriptor(name,description,copy_construct),
37 mGetFunctor(getfunctor),
38 mSetFunctor(setfunctor)
41 bbtkDebugMessage("Core",9,
42 "UserBlackBoxOutputDescriptor::UserBlackBoxOutputDescriptor(\""
43 <<name<<"\",\""<<description
44 <<"\""<<getfunctor<<","<<setfunctor
45 <<","<<copy_construct<<")"<<std::endl);
49 UserBlackBoxOutputDescriptor::~UserBlackBoxOutputDescriptor()
51 bbtkDebugMessage("Core",9,"UserBlackBoxOutputDescriptor::~UserBlackBoxOutputDescriptor(\""<<GetName()<<"\",\""<<GetDescription()<<"\""<<mGetFunctor<<","<<mSetFunctor<<")"<<std::endl);