Public Member Functions

aesop::Terminal Class Reference

Class that manages input + display for a particular player. More...

#include <terminal.h>

Inheritance diagram for aesop::Terminal:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void setKeys (IN smart_ptr< crypto::DESKey > &desKey, IN smart_ptr< gamepad::Manager > &mgr)=0
virtual void input (IN gamepad::Gamepad *gp, IN float dt)=0
virtual void mouseMove (IN int x, IN int y)=0
virtual void mouseButton (IN int button, IN int state, IN int x, IN int y)=0
virtual void keyboard (IN int key, IN int mods)=0
virtual void showDialog (IN const char *id, IN const Datahash *dialog, IN dialog::Host *host)=0
virtual void destroyDialog (IN const char *id)=0
virtual void notifyMap (IN MapKdTree *mapKdTree)=0
 can be null!
virtual void notifyInstance (IN smart_ptr< Instance > &instance)=0



virtual ~Terminal (void) throw ()
static smart_ptr< Terminalcreate (IN TerminalHost *host, IN int playerId, IN smart_ptr< glut::RenderQueue > &rq)

Detailed Description

Class that manages input + display for a particular player.

Definition at line 87 of file terminal.h.


Constructor & Destructor Documentation

aesop::Terminal::~Terminal ( void   )  throw () [virtual]

Definition at line 61 of file terminal.cpp.


Member Function Documentation

virtual void aesop::Terminal::setKeys ( IN smart_ptr< crypto::DESKey > &  desKey,
IN smart_ptr< gamepad::Manager > &  mgr 
) [pure virtual]
virtual void aesop::Terminal::input ( IN gamepad::Gamepad *  gp,
IN float  dt 
) [pure virtual]
virtual void aesop::Terminal::mouseMove ( IN int  x,
IN int  y 
) [pure virtual]
virtual void aesop::Terminal::mouseButton ( IN int  button,
IN int  state,
IN int  x,
IN int  y 
) [pure virtual]
virtual void aesop::Terminal::keyboard ( IN int  key,
IN int  mods 
) [pure virtual]
virtual void aesop::Terminal::showDialog ( IN const char *  id,
IN const Datahash *  dialog,
IN dialog::Host *  host 
) [pure virtual]
virtual void aesop::Terminal::destroyDialog ( IN const char *  id  )  [pure virtual]
virtual void aesop::Terminal::notifyMap ( IN MapKdTree mapKdTree  )  [pure virtual]

can be null!

virtual void aesop::Terminal::notifyInstance ( IN smart_ptr< Instance > &  instance  )  [pure virtual]
smart_ptr< Terminal > aesop::Terminal::create ( IN TerminalHost host,
IN int  playerId,
IN smart_ptr< glut::RenderQueue > &  rq 
) [static]

Definition at line 747 of file terminal.cpp.


The documentation for this class was generated from the following files: