From 05c4eca5f632ddf2d181403909ff05138f89de61 Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Tue, 27 Mar 2012 12:16:23 +0200 Subject: [PATCH] Add savestate and initializetool default implementation --- vv/vvToolBaseBase.cxx | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 vv/vvToolBaseBase.cxx 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; + } +} +//------------------------------------------------------------------------------ -- 2.47.1