1 /*=========================================================================
4 Module: $RCSfile: bbtkAtomicBlackBoxInputDescriptor.cxx,v $
6 Date: $Date: 2008/02/07 11:06:37 $
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::AtomicBlackBoxInputDescriptor : structure containing the description of a AtomicBlackBox input (name, description, type, functor)
23 #include "bbtkAtomicBlackBoxInputDescriptor.h"
29 AtomicBlackBoxInputDescriptor::
30 AtomicBlackBoxInputDescriptor( TypeInfo creator_type_info,
31 const std::string& name,
32 const std::string& description,
33 AtomicBlackBoxGetFunctor* getfunctor,
34 AtomicBlackBoxSetFunctor* setfunctor,
37 BlackBoxInputDescriptor(creator_type_info,
38 name,description,MANDATORY,copy_construct),
39 mGetFunctor(getfunctor),
40 mSetFunctor(setfunctor)
42 bbtkDebugMessage("Kernel",9,
43 "AtomicBlackBoxInputDescriptor::"
44 <<"AtomicBlackBoxInputDescriptor(\""
45 <<name<<"\",\""<<description<<"\","
46 <<getfunctor<<","<<setfunctor<<","
47 <<copy_construct<<")"<<std::endl);
52 AtomicBlackBoxInputDescriptor::~AtomicBlackBoxInputDescriptor()
54 bbtkDebugMessage("Kernel",9,
55 "AtomicBlackBoxInputDescriptor::"
56 <<"~AtomicBlackBoxInputDescriptor(\""
57 <<GetName()<<"\",\""<<GetDescription()<<"\","
58 <<mGetFunctor<<","<<mSetFunctor<<")"<<std::endl);