00001 /*************************************************************************** 00002 cell.h - description 00003 ------------------- 00004 begin : Wed Jan 9 2002 00005 copyright : (C) 2002 by Vlad Mereuta 00006 email : dizzy@deity.fsnet.co.uk 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 #ifdef HAVE_CONFIG_H 00018 #include "config.h" 00019 #endif 00020 00021 #ifndef CELL_H 00022 #define CELL_H 00023 00024 #include <dalt_client/agent.h> 00025 #include "ca_client.h" 00026 #include "kill_cell_action.h" 00027 00028 using namespace DALT_Client; 00029 00031 class Cell : public Agent 00032 { 00033 public: 00034 Cell(int id, CAClient* ca); 00035 ~Cell(); 00036 00037 void senseAndAct(); 00038 00039 int executeAction(Action& action); 00040 }; 00041 00042 #endif