X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkAtomicBlackBoxGetSetFunctor.h;h=ecc56802713bc0f4f3f99c3fb7e9b65c61603980;hb=a280c10c9ba7730cd9105a91bf1a40e72503a6e3;hp=6eec77c05a09453c86372d315fe698262d239af4;hpb=174ea6d71477e40679f4fd71952e3f2a03416098;p=bbtk.git diff --git a/kernel/src/bbtkAtomicBlackBoxGetSetFunctor.h b/kernel/src/bbtkAtomicBlackBoxGetSetFunctor.h index 6eec77c..ecc5680 100644 --- a/kernel/src/bbtkAtomicBlackBoxGetSetFunctor.h +++ b/kernel/src/bbtkAtomicBlackBoxGetSetFunctor.h @@ -1,21 +1,33 @@ -/*========================================================================= - +/*========================================================================= Program: bbtk Module: $RCSfile: bbtkAtomicBlackBoxGetSetFunctor.h,v $ Language: C++ - Date: $Date: 2008/04/24 10:11:27 $ - 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 - http://www.creatis.insa-lyon.fr/Public/bbtk/License.html for details. - - This software is distributed WITHOUT ANY WARRANTY; without even - the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - PURPOSE. See the above copyright notices for more information. - + Date: $Date: 2008/11/25 11:17:13 $ + Version: $Revision: 1.5 $ =========================================================================*/ +/* --------------------------------------------------------------------- + +* Copyright (c) CREATIS-LRMN (Centre de Recherche en Imagerie Medicale) +* Authors : Eduardo Davila, Laurent Guigues, Jean-Pierre Roux +* +* This software is governed by the CeCILL-B license under French law and +* abiding by the rules of distribution of free software. You can use, +* modify and/ or redistribute the software under the terms of the CeCILL-B +* license as circulated by CEA, CNRS and INRIA at the following URL +* http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +* or in the file LICENSE.txt. +* +* As a counterpart to the access to the source code and rights to copy, +* modify and redistribute granted by the license, users are provided only +* with a limited warranty and the software's author, the holder of the +* economic rights, and the successive licensors have only limited +* liability. +* +* The fact that you are presently reading this means that you have had +* knowledge of the CeCILL-B license and that you accept its terms. +* ------------------------------------------------------------------------ */ + /** * \file @@ -52,6 +64,8 @@ namespace bbtk public: /// Default constructor AtomicBlackBoxGetFunctor() {} + /// Dtor + virtual ~AtomicBlackBoxGetFunctor() {} /// Abstract method which applies the "Get" function of AtomicBlackBox o virtual Data Get(AtomicBlackBox* o) = 0; /// @@ -73,6 +87,8 @@ namespace bbtk public: /// Default constructor AtomicBlackBoxSetFunctor() {} + /// Dtor + virtual ~AtomicBlackBoxSetFunctor() {} /// Abstract method which applies the "Set" function of AtomicBlackBox o virtual void Set(AtomicBlackBox* o, const Data&) = 0; /// @@ -107,7 +123,7 @@ namespace bbtk AtomicBlackBoxTGetFunctor(GetMethodPointerType g) : mGetMethodPointer(g) { - bbtkDebugMessage("Data",9,"AtomicBlackBoxTGetFunctor<"<< + bbtkDebugMessage("data",9,"AtomicBlackBoxTGetFunctor<"<< TypeName()<<","<< TypeName()<<","<< TypeName()<< @@ -117,7 +133,7 @@ namespace bbtk /// Concrete application of the Get method of object o Data Get(AtomicBlackBox* o) { - bbtkDebugMessage("Data",9,"AtomicBlackBoxTGetFunctor<"<< + bbtkDebugMessage("data",9,"AtomicBlackBoxTGetFunctor<"<< TypeName()<<","<< TypeName()<<","<< TypeName()<< @@ -154,7 +170,7 @@ namespace bbtk AtomicBlackBoxTSetFunctor(SetMethodPointerType s) : mSetMethodPointer(s) { - bbtkDebugMessage("Data",9,"AtomicBlackBoxTSetFunctor<"<< + bbtkDebugMessage("data",9,"AtomicBlackBoxTSetFunctor<"<< TypeName()<<","<< TypeName()<<","<< TypeName()<< @@ -164,7 +180,7 @@ namespace bbtk /// Concrete application of the Set method of object o void Set(AtomicBlackBox* o, const Data& d) { - bbtkDebugMessage("Data",9,"AtomicBlackBoxTSetfunctor<"<< + bbtkDebugMessage("data",9,"AtomicBlackBoxTSetfunctor<"<< TypeName()<<","<< TypeName()<<","<< TypeName()<< @@ -215,7 +231,7 @@ namespace bbtk AtomicBlackBoxTSetFunctor(SetMethodPointerType s) : mSetMethodPointer(s) { - bbtkDebugMessage("Data",9,"AtomicBlackBoxTSetFunctor<"<< + bbtkDebugMessage("data",9,"AtomicBlackBoxTSetFunctor<"<< TypeName()<<","<< TypeName()<<","<< TypeName()<< @@ -225,7 +241,7 @@ namespace bbtk /// Concrete application of the Set method of object o void Set(AtomicBlackBox* o, const Data& d) { - bbtkDebugMessage("Data",9,"AtomicBlackBoxTSetfunctor<"<< + bbtkDebugMessage("data",9,"AtomicBlackBoxTSetfunctor<"<< TypeName()<<","<< TypeName()<<","<< TypeName()<< @@ -244,7 +260,7 @@ namespace bbtk virtual void BruteForceSetPointer(AtomicBlackBox* o, void* p) { - bbtkDebugMessage("Data",9,"AtomicBlackBoxTSetFunctor<" + bbtkDebugMessage("data",9,"AtomicBlackBoxTSetFunctor<" <()<<"," <()<<"," <()