Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkLogOutput.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkLogOutput.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-02-05 19:05:01 $
00007   Version:   $Revision: 1.4 $
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notices for more information.
00015 
00016 =========================================================================*/
00017 
00018 #ifndef __itkLogOutput_h
00019 #define __itkLogOutput_h
00020 
00021 #include "itkMacro.h"
00022 #include "itkObject.h"
00023 #include "itkObjectFactory.h"
00024 
00025 #include <string>
00026 
00027 namespace itk
00028 {
00029 
00039 class ITKCommon_EXPORT LogOutput : public Object
00040 {
00041 
00042 public:
00043 
00044   typedef LogOutput                 Self;
00045   typedef Object                    Superclass;
00046   typedef SmartPointer<Self>        Pointer;
00047   typedef SmartPointer<const Self>  ConstPointer;
00048   
00050   virtual void Flush() = 0;
00051 
00053   virtual void Write( double timestamp ) = 0;
00054 
00056   virtual void Write(const std::string & content ) = 0;
00057 
00059   virtual void Write(const std::string & content, double timestamp) = 0;
00060 
00061 protected:
00062   
00064   LogOutput() {};
00065 
00067   virtual ~LogOutput() {};
00068 
00069 };
00070 
00071 }
00072 
00073 #endif //__itkLogOutput_h
00074 

Generated at Sat Feb 28 12:57:04 2009 for ITK by doxygen 1.5.6 written by Dimitri van Heesch, © 1997-2000