]> Creatis software - bbtk.git/blob - kernel/src/bbtkUserBlackBoxOutputDescriptor.cxx
Recreated the complete cvs tree because the project architecture deeply changed
[bbtk.git] / kernel / src / bbtkUserBlackBoxOutputDescriptor.cxx
1 /*=========================================================================
2                                                                                 
3   Program:   bbtk
4   Module:    $RCSfile: bbtkUserBlackBoxOutputDescriptor.cxx,v $
5   Language:  C++
6   Date:      $Date: 2008/01/22 15:02:00 $
7   Version:   $Revision: 1.1.1.1 $
8                                                                                 
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.
12                                                                                 
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.
16                                                                                 
17 =========================================================================*/
18
19 /**
20  *  \file 
21  *  \brief Class bbtk::UserBlackBoxOutputDescriptor : structure containing the description of a UserBlackBox output (name, description, type, functor)
22  */
23 #include "bbtkUserBlackBoxOutputDescriptor.h"
24    
25
26 namespace bbtk
27 {
28
29
30   UserBlackBoxOutputDescriptor::UserBlackBoxOutputDescriptor( const std::string& name,
31                                                               const std::string& description,
32                                                               UserBlackBoxGetFunctor* getfunctor,
33                                                               UserBlackBoxSetFunctor* setfunctor,
34                                                               bool copy_construct ) 
35     : 
36     BlackBoxOutputDescriptor(name,description,copy_construct),
37     mGetFunctor(getfunctor),
38     mSetFunctor(setfunctor)
39   {    
40     
41     bbtkDebugMessage("Core",9,
42                      "UserBlackBoxOutputDescriptor::UserBlackBoxOutputDescriptor(\""
43                      <<name<<"\",\""<<description
44                      <<"\""<<getfunctor<<","<<setfunctor
45                      <<","<<copy_construct<<")"<<std::endl);
46   }
47   
48
49   UserBlackBoxOutputDescriptor::~UserBlackBoxOutputDescriptor() 
50   {
51     bbtkDebugMessage("Core",9,"UserBlackBoxOutputDescriptor::~UserBlackBoxOutputDescriptor(\""<<GetName()<<"\",\""<<GetDescription()<<"\""<<mGetFunctor<<","<<mSetFunctor<<")"<<std::endl);
52   }
53   
54 }