Eris 1.3.18
IGRouter.h
00001 #ifndef ERIS_IG_ROUTER_H
00002 #define ERIS_IG_ROUTER_H
00003 
00004 #include <Eris/Router.h>
00005 
00006 namespace Eris {
00007 
00008 // forward decls
00009 class Avatar;
00010 class View;
00011 class TypeInfo;
00012 
00013 class IGRouter : public Router
00014 {
00015 public:
00016     IGRouter(Avatar* av);
00017     virtual ~IGRouter();
00018 
00019 protected:
00020     virtual RouterResult handleOperation(const Atlas::Objects::Operation::RootOperation& op);
00021 
00022 private:
00023     RouterResult handleSightOp(const Atlas::Objects::Operation::RootOperation& op);
00024 
00025     Avatar* m_avatar;
00026     View* m_view;
00027     TypeInfo* m_actionType;
00028 };
00029 
00030 } // of namespace Eris
00031 
00032 #endif // of ERIS_IG_ROUTER_H