Classes | Functions | Variables

AESOP Glut Application
[AESOP Client Libraries]


This is a reference application, using glut for rendering. More...

Collaboration diagram for AESOP Glut Application:

Classes

struct  aesop::player_stats_t
 handy for constructing player dialogs More...
class  aesop::Application
 The Application object manages all local terminals (user input/output sessions) as well as communications with the server, and state management for the local host and users. More...
class  aesop::ClientGameLogicHost
class  aesop::TerminalHost

Functions

void aesop::player_stats_t::clear (void) throw ()
virtual story::Story * aesop::Application::getStory (void)=0
virtual bool aesop::Application::getPlayerStats (IN int playerId, OUT player_stats_t &stats)=0
virtual void aesop::Application::takeKeyboard (IN int playerId)=0
virtual void aesop::Application::newGame (IN int playerId)=0
virtual void aesop::Application::addPlayer (void)=0
virtual bool aesop::Application::dropPlayer (IN int playerId)=0
virtual void aesop::Application::configureControls (IN int playerId)=0
virtual const server_map_t & aesop::Application::getServers (void)=0
virtual bool aesop::Application::requestConnect (IN const char *serverKey)=0
static smart_ptr< Application > aesop::Application::create (IN const char *config_dir, IN smart_ptr< Datahash > &params, IN smart_ptr< ClientGameLogic > &gameLogic, IN smart_ptr< story::Story > &story)

Variables

bool aesop::player_stats_t::haveKeyboard
eClientState aesop::player_stats_t::clientState
smart_ptr< gamepad::Gamepad > aesop::player_stats_t::gamepad
std::string aesop::player_stats_t::server
std::string aesop::player_stats_t::serverInfo



enum  aesop::eDevice {
  aesop::eDevice_Keyboard = 1,
  aesop::eDevice_Mouse = 2,
  aesop::eDevice_Gamepad = 3,
  aesop::eDevice_Invalid = 0
}
enum  aesop::eEvent {
  aesop::eEvent_Press = 1,
  aesop::eEvent_Release = 2,
  aesop::eEvent_Invalid = 0
}
 

what is the nature of the given event?

More...



virtual aesop::TerminalHost::~TerminalHost (void) throw ()

Detailed Description


This is a reference application, using glut for rendering.


Enumeration Type Documentation

where is the given event coming from?

Enumerator:
eDevice_Keyboard 

event is from keyboard

eDevice_Mouse 

event is from mouse

eDevice_Gamepad 

event is from gamepad

eDevice_Invalid 

Definition at line 50 of file events.h.

what is the nature of the given event?

Enumerator:
eEvent_Press 

this is a button press

eEvent_Release 

this is a button release

eEvent_Invalid 

Definition at line 62 of file events.h.


Function Documentation

void aesop::player_stats_t::clear ( void   )  throw () [inline, inherited]

Definition at line 61 of file application.h.

virtual story::Story* aesop::Application::getStory ( void   )  [pure virtual, inherited]
virtual bool aesop::Application::getPlayerStats ( IN int  playerId,
OUT player_stats_t stats 
) [pure virtual, inherited]
virtual void aesop::Application::takeKeyboard ( IN int  playerId  )  [pure virtual, inherited]
virtual void aesop::Application::newGame ( IN int  playerId  )  [pure virtual, inherited]
virtual void aesop::Application::addPlayer ( void   )  [pure virtual, inherited]
virtual bool aesop::Application::dropPlayer ( IN int  playerId  )  [pure virtual, inherited]
virtual void aesop::Application::configureControls ( IN int  playerId  )  [pure virtual, inherited]
virtual const server_map_t& aesop::Application::getServers ( void   )  [pure virtual, inherited]
virtual bool aesop::Application::requestConnect ( IN const char *  serverKey  )  [pure virtual, inherited]
smart_ptr< Application > aesop::Application::create ( IN const char *  config_dir,
IN smart_ptr< Datahash > &  params,
IN smart_ptr< ClientGameLogic > &  gameLogic,
IN smart_ptr< story::Story > &  story 
) [static, inherited]

Definition at line 1119 of file application.cpp.

aesop::TerminalHost::~TerminalHost ( void   )  throw () [protected, virtual, inherited]

Definition at line 60 of file terminal.cpp.


Variable Documentation

Definition at line 69 of file application.h.

eClientState aesop::player_stats_t::clientState [inherited]

Definition at line 70 of file application.h.

smart_ptr<gamepad::Gamepad> aesop::player_stats_t::gamepad [inherited]

Definition at line 71 of file application.h.

std::string aesop::player_stats_t::server [inherited]

Definition at line 72 of file application.h.

std::string aesop::player_stats_t::serverInfo [inherited]

Definition at line 73 of file application.h.