Eris  1.3.21
IGRouter.h
1 #ifndef ERIS_IG_ROUTER_H
2 #define ERIS_IG_ROUTER_H
3 
4 #include <Eris/Router.h>
5 
6 namespace Eris {
7 
8 // forward decls
9 class Avatar;
10 class View;
11 class TypeInfo;
12 
13 class IGRouter : public Router
14 {
15 public:
16  IGRouter(Avatar* av);
17  virtual ~IGRouter();
18 
19 protected:
20  virtual RouterResult handleOperation(const Atlas::Objects::Operation::RootOperation& op);
21 
22 private:
23  RouterResult handleSightOp(const Atlas::Objects::Operation::RootOperation& op);
24 
25  Avatar* m_avatar;
26  View* m_view;
27  TypeInfo* m_actionType;
28 };
29 
30 } // of namespace Eris
31 
32 #endif // of ERIS_IG_ROUTER_H