Planeshift
Public Member Functions | Protected Member Functions

GUIHandler Class Reference

This class receives all network messages from the server which affect the GUI or are displayable by the GUI. More...

#include <guihandler.h>

List of all members.

Public Member Functions

psInventoryCacheGetInventoryCache (void)
 GUIHandler ()
const char * HandleCommand (const char *)
 Interprets a received message and executes the command.
void HandleMessage (MsgEntry *me)

Protected Member Functions

void HandleInventory (MsgEntry *me)

Detailed Description

This class receives all network messages from the server which affect the GUI or are displayable by the GUI.

It unpacks these messages and publishes them to the correct widget subscriber names.

Definition at line 49 of file guihandler.h.


Constructor & Destructor Documentation

GUIHandler::GUIHandler ( )

Member Function Documentation

psInventoryCache* GUIHandler::GetInventoryCache ( void  ) [inline]

Definition at line 57 of file guihandler.h.

const char* GUIHandler::HandleCommand ( const char *  cmd) [inline, virtual]

Interprets a received message and executes the command.

char * returned can be an error message to display.

Implements psCmdBase.

Definition at line 55 of file guihandler.h.

void GUIHandler::HandleInventory ( MsgEntry me) [protected]
void GUIHandler::HandleMessage ( MsgEntry me) [virtual]

Implements psCmdBase.


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