Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

agentdemonstrator.h

00001 /***************************************************************************
00002                         agentdemonstrator.h  -  description
00003                             -------------------
00004     begin                : nov 29th 2005
00005     copyright            : (C) 2005-2006 by Duong-Khang NGUYEN
00006     email                : neoneurone @ users sourceforge net
00007     author               : Victor STINNER
00008 
00009     $Id: agentdemonstrator.h 32 2006-08-06 18:59:25Z neoneurone $
00010  ***************************************************************************/
00011 
00012 /***************************************************************************
00013  *                                                                         *
00014  *   This program is free software; you can redistribute it and/or modify  *
00015  *   it under the terms of the GNU General Public License as published by  *
00016  *   the Free Software Foundation; either version 2 of the License, or     *
00017  *   any later version.                                                    *
00018  *                                                                         *
00019  ***************************************************************************/
00020 
00021 #ifndef _OPENCITY_AGENTDEMONSTRATOR_H_
00022 #define _OPENCITY_AGENTDEMONSTRATOR_H_ 1
00023 
00024 #include "agent.h"
00025 
00026 
00027    /*=====================================================================*/
00031 class AgentDemonstrator : public Agent
00032 {
00033 public:
00034     AgentDemonstrator(Kernel& kernel, Environment& env, int x, int y);
00035     virtual ~AgentDemonstrator();
00036 
00037     virtual void processMessage();
00038     virtual void born();
00039     virtual void live();
00040     virtual void die();
00041     virtual void output(std::ostream &os) const;
00042 
00043 private:
00044     unsigned int m_ttl;
00045 };
00046 
00047 #endif
00048 
00049 
00050 
00051 
00052 
00053 
00054 
00055 
00056 
00057 
00058 
00059 
00060 
00061 
00062 
00063 
00064 
00065 
00066 
00067 
00068 
00069 
00070 
00071 
00072 
00073 
00074 
00075 
00076 
00077 
00078 
00079 
00080 

Generated on Sat Nov 11 10:21:09 2006 for OpenCity by  doxygen 1.4.2