1 /*=========================================================================
4 Module: $RCSfile: bbtkAtomicBlackBoxOutputDescriptor.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::AtomicBlackBoxOutputDescriptor : structure containing the description of a AtomicBlackBox output (name, description, type, functor)
23 #include "bbtkAtomicBlackBoxOutputDescriptor.h"
30 AtomicBlackBoxOutputDescriptor::
31 AtomicBlackBoxOutputDescriptor( TypeInfo creator_type_info,
32 const std::string& name,
33 const std::string& description,
34 AtomicBlackBoxGetFunctor* getfunctor,
35 AtomicBlackBoxSetFunctor* setfunctor,
38 BlackBoxOutputDescriptor(creator_type_info,
39 name,description,copy_construct),
40 mGetFunctor(getfunctor),
41 mSetFunctor(setfunctor)
44 bbtkDebugMessage("Kernel",9,
45 "AtomicBlackBoxOutputDescriptor::AtomicBlackBoxOutputDescriptor(\""
46 <<name<<"\",\""<<description
47 <<"\""<<getfunctor<<","<<setfunctor
48 <<","<<copy_construct<<")"<<std::endl);
52 AtomicBlackBoxOutputDescriptor::~AtomicBlackBoxOutputDescriptor()
54 bbtkDebugMessage("Kernel",9,"AtomicBlackBoxOutputDescriptor::~AtomicBlackBoxOutputDescriptor(\""<<GetName()<<"\",\""<<GetDescription()<<"\""<<mGetFunctor<<","<<mSetFunctor<<")"<<std::endl);