00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef MICOLENTRY_H
00024 #define MICOLENTRY_H
00025 #include "micolelib.h"
00026
00027 #include <string>
00028
00029 #include "MicoleAgent.h"
00030
00035 class MICOLELIB_API Entry
00036 {
00037 public:
00038 Entry();
00039 Entry(const string &name, const AgentState &state);
00040 Entry(const Entry &e);
00041 ~Entry();
00042
00043 int getId() const;
00044 string getName() const;
00045 AgentState getState() const;
00046 void setApp(MicoleBus *app);
00047 Entry &operator =(const Entry &e);
00048
00049 private:
00050 string _name;
00051 MicoleBus *_app;
00052 int _id;
00053 AgentState _state;
00054 static int counter;
00055 };
00056
00057 #endif