00001 /*========================================================================= 00002 00003 Library : Image Registration Toolkit (IRTK) 00004 Module : $Id: irtkObject.h 2 2008-12-23 12:40:14Z dr $ 00005 Copyright : Imperial College, Department of Computing 00006 Visual Information Processing (VIP), 2008 onwards 00007 Date : $Date: 2008-12-23 12:40:14 +0000 (Tue, 23 Dec 2008) $ 00008 Version : $Revision: 2 $ 00009 Changes : $Author: dr $ 00010 00011 =========================================================================*/ 00012 00013 #ifndef _IRTKOBJECT_H 00014 00015 #define _IRTKOBJECT_H 00016 00025 class irtkObject 00026 { 00027 00028 public: 00029 00031 irtkObject(); 00032 00034 virtual ~irtkObject(); 00035 00037 void SetDeleteMethod(void (*f)(void *)); 00038 00039 protected: 00040 00042 void (*DeleteMethod)(void *); 00043 00044 }; 00045 00046 #endif 00047