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:


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


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


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?


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?


event is from keyboard


event is from mouse


event is from gamepad


Definition at line 50 of file events.h.

what is the nature of the given event?


this is a button press


this is a button release


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 ( int  playerId,
player_stats_t stats 
) [pure virtual, inherited]
virtual void aesop::Application::takeKeyboard ( int  playerId  )  [pure virtual, inherited]
virtual void aesop::Application::newGame ( int  playerId  )  [pure virtual, inherited]
virtual void aesop::Application::addPlayer ( void   )  [pure virtual, inherited]
virtual bool aesop::Application::dropPlayer ( int  playerId  )  [pure virtual, inherited]
virtual void aesop::Application::configureControls ( int  playerId  )  [pure virtual, inherited]
virtual const server_map_t& aesop::Application::getServers ( void   )  [pure virtual, inherited]
virtual bool aesop::Application::requestConnect ( const char *  serverKey  )  [pure virtual, inherited]
smart_ptr< Application > aesop::Application::create ( const char *  config_dir,
smart_ptr< Datahash > &  params,
smart_ptr< ClientGameLogic > &  gameLogic,
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.