From: David Sarrut Date: Tue, 27 Mar 2012 10:16:23 +0000 (+0200) Subject: Add savestate and initializetool default implementation X-Git-Tag: v1.3.0~52^2~32 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=05c4eca5f632ddf2d181403909ff05138f89de61;p=clitk.git Add savestate and initializetool default implementation --- diff --git a/vv/vvToolBaseBase.cxx b/vv/vvToolBaseBase.cxx new file mode 100644 index 0000000..544bc5e --- /dev/null +++ b/vv/vvToolBaseBase.cxx @@ -0,0 +1,36 @@ +/*========================================================================= + Program: vv http://www.creatis.insa-lyon.fr/rio/vv + + Authors belong to: + - University of LYON http://www.universite-lyon.fr/ + - Léon Bérard cancer center http://www.centreleonberard.fr + - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the copyright notices for more information. + + It is distributed under dual licence + + - BSD See included LICENSE.txt file + - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html + ===========================================================================**/ + +// vv +#include "vvToolBaseBase.h" + +//------------------------------------------------------------------------------ +void vvToolBaseBase::SaveState(std::auto_ptr & m_XmlWriter) +{ + std::cerr << "SaveState not implemented for this tool." << std::endl; +} +//------------------------------------------------------------------------------ + + +//------------------------------------------------------------------------------ +void vvToolBaseBase::InitializeNewTool(bool ReadStateFlag) { + if (ReadStateFlag == true) { + std::cerr << "ReadState not implemented for this tool." << std::endl; + } +} +//------------------------------------------------------------------------------