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
The representation of an Atlas type (i.e a class or operation definition).
Definition: TypeInfo.h:37
View encapsulates the set of entities currently visible to an Avatar, as well as those that have rece...
Definition: View.h:33
Definition: IGRouter.h:13
abstract interface for objects that can route Atlas data.
Definition: Router.h:10
The player's avatar representation.
Definition: Avatar.h:31