eris 1.4.0
A WorldForge client library.
IGRouter.h
1#ifndef ERIS_IG_ROUTER_H
2#define ERIS_IG_ROUTER_H
3
4#include "Router.h"
5
6namespace Eris {
7
8// forward decls
9class Avatar;
10class View;
11class TypeInfo;
12
13class IGRouter : public Router
14{
15public:
16 IGRouter(Avatar& av, View& view);
17
18 ~IGRouter() override;
19
20protected:
21 RouterResult handleOperation(const Atlas::Objects::Operation::RootOperation& op) override;
22
23private:
24 RouterResult handleSightOp(const Atlas::Objects::Operation::RootOperation& sightOp, const Atlas::Objects::Operation::RootOperation& op);
25
26 Avatar& m_avatar;
27 View& m_view;
28 TypeInfo* m_actionType;
29};
30
31} // of namespace Eris
32
33#endif // of ERIS_IG_ROUTER_H
The representation of an Atlas type (i.e a class or operation definition). This class supports effice...
Definition: TypeInfo.h:33
Definition: Account.cpp:33