00001 /* 00002 * Copyright (C) 2000 KOM/Darmstadt University of Technology 00003 * 00004 * This program is free software; you can redistribute it and/or modify it 00005 * under the terms of the GNU General Public License as published by the 00006 * Free Software Foundation; either version 2, or (at your option) any 00007 * later version. 00008 * 00009 * This program 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 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program; if not, write to the Free Software 00016 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 00017 * USA. 00018 */ 00019 #ifndef V1TRANSITION_H 00020 #define V1TRANSITION_H 00021 00022 #include <iostream.h> 00023 00024 #include <MNList.h> 00025 #include <MNArray.h> 00026 #include <MNdictionary.h> 00027 00028 class Input; 00029 class Action; 00030 class V1StateVector; 00031 00032 class V1Transition 00033 { 00034 Input* _input; 00035 Action* _action; 00036 V1StateVector* _target; 00037 bool _forbid; 00038 public: 00039 V1Transition ( Input* i, Action* a, V1StateVector* s, bool forbid = false ); 00040 00041 Input* getInput(); 00042 Action* getAction(); 00043 V1StateVector* getTarget(); 00044 bool forbid( ) const; 00045 }; 00046 00047 typedef MNList<V1Transition*> V1TransitionList; 00048 00049 #endif /* V1TRANSITION_H */ 00050