00001 /* ======================================================================== 00002 * Copyright (C) 2004 Rikshospitalet University Hospital 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with this library; if not, write to the Free Software 00016 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00017 * 00018 * For further information please contact Eigil Samset under 00019 * <eigil.samset@klinmed.uio.no> or write to Eigil Samset, 00020 * The Interventional Centre, Rikshospitalet, 0027 Oslo, Norway. 00021 * ======================================================================== 00022 * PROJECT: OpenTracker 00023 * ======================================================================== */ 00030 /* ======================================================================= */ 00031 00032 #ifndef _TERASONSOURCE_H 00033 #define _TERASONSOURCE_H 00034 00035 #include <OpenTracker/OpenTracker.h> 00036 #include <OpenTracker/dllinclude.h> 00037 00038 namespace ot { 00039 00046 class OPENTRACKER_API TerasonSource : public Node 00047 { 00048 // Members 00049 public: 00051 int number; 00053 Event event; 00055 int changed; 00056 00057 // Methods 00058 public: 00061 TerasonSource( int number_) : Node(), number( number_ ), changed( 1 ) 00062 { 00063 }; 00064 00068 int isEventGenerator() 00069 { 00070 return 1; 00071 }; 00072 00073 private: 00074 00075 00076 }; 00077 } 00078 #endif
1.4.6