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: 2005/05/26 03:55:11 $
00007   Version:   $Revision: 1.2 $
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 __itk_LogOutput_h_
00019 #define __itk_LogOutput_h_
00020 
00021 #include<string>
00022 #include"itkMacro.h"
00023 #include"itkObject.h"
00024 #include"itkObjectFactory.h"
00025 
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 //__itk_LogOutput_h_

Generated at Wed May 24 23:37:01 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000