00001 #ifndef ERIS_TYPES_H
00002 #define ERIS_TYPES_H
00003
00004
00005 #include <string>
00006 #include <list>
00007 #include <set>
00008 #include <vector>
00009
00010 namespace Atlas { namespace Message { class Element; } }
00011
00012 namespace Eris
00013 {
00014
00015 typedef std::list<std::string> StringList;
00016 typedef std::set<std::string> StringSet;
00017
00018 typedef std::list<Atlas::Message::Element> MessageList;
00019
00020
00021 class Entity;
00022 typedef Entity* EntityPtr;
00023
00024
00025 class TypeInfo;
00026 class TypeService;
00027 class Connection;
00028 class Avatar;
00029
00030 typedef TypeInfo* TypeInfoPtr;
00031 typedef std::set<TypeInfoPtr> TypeInfoSet;
00032 typedef std::vector<TypeInfoPtr> TypeInfoArray;
00033
00037 typedef enum
00038 {
00039 NO_ERR = 0,
00040 NOT_CONNECTED,
00042 NOT_LOGGED_IN,
00044 ALREADY_LOGGED_IN,
00045 DUPLICATE_CHAR_ACTIVE,
00046 BAD_CHARACTER_ID
00047 } Result;
00048
00049 void mergeOrCopyElement(const Atlas::Message::Element& src, Atlas::Message::Element& dst);
00050
00051 }
00052
00053 #endif