00001 //===========================================================================// 00002 // 00003 // Description: interface for user defined event handling classes 00004 // Filename: colcows/ColCOWS_EventHandler.cc 00005 // Authors: Michael Dussere and Aurélien Esnard 00006 // 00007 //===========================================================================// 00008 // 00009 // Copyright (C) 2003 INRIA and CNRS 00010 // 00011 // This library is free software; you can redistribute it and/or 00012 // modify it under the terms of the GNU Lesser General Public 00013 // License as published by the Free Software Foundation; either 00014 // version 2.1 of the License, or (at your option) any later version. 00015 // 00016 // This library is distributed in the hope that it will be useful, 00017 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00019 // Lesser General Public License for more details. 00020 // 00021 // You should have received a copy of the GNU Lesser General Public 00022 // License along with this library; if not, write to the Free Software 00023 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00024 // 00025 //===========================================================================// 00026 00027 #include "ColCOWS_EventHandler.hh" 00028 #include "ColCOWS_EventHandlerManager.hh" 00029 #include "ColCOWS_Node.hh" 00030 00031 using namespace std; 00032 00033 __COLCOWS_BEGIN__ 00034 00035 //===========================================================================// 00036 00037 Node * EventHandler::getColCOWSNode( ) const 00038 { 00039 if ( _event_handler_manager != NULL) 00040 return _event_handler_manager->getColCOWSNode() ; 00041 else 00042 return NULL; 00043 } 00044 00045 //===========================================================================// 00046 00047 __COLCOWS_END__ 00048 00049 // EOF 00050