CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

iGUIServer Struct Reference

This interface represents the server side of a client/server GUI system. More...

#include <gserver.h>

Inheritance diagram for iGUIServer:

iBase List of all members.

Public Methods

virtual void SetDrawState (bool)=0
 Tell the server to start or stop drawing. More...

virtual void SetKeyboardState (bool)=0
 Tell the server to start or stop accepting keyboard input. More...

virtual void SetMouseState (bool)=0
 Tell the server to start or stop accepting mouse input. More...

virtual void SetConnection (iGUIConnection *)=0
 Tell it to use this connection class to communicate with the clients. More...

virtual void ClientConnected (csGUIClientHandle)=0
 The iGUIConnection calls this to notify the server that a client joined. More...

virtual void ClientDisconnected (csGUIClientHandle)=0
 The iGUIConnection calls this to notify the server that a client quit. More...


Detailed Description

This interface represents the server side of a client/server GUI system.

This is the part that draws to the screen and accepts input from the user. It uses an iGraphics2D for drawing, and an iEventQueue for getting input, both of which it finds in the object registry.

Definition at line 34 of file gserver.h.


Member Function Documentation

virtual void iGUIServer::ClientConnected csGUIClientHandle    [pure virtual]
 

The iGUIConnection calls this to notify the server that a client joined.

virtual void iGUIServer::ClientDisconnected csGUIClientHandle    [pure virtual]
 

The iGUIConnection calls this to notify the server that a client quit.

virtual void iGUIServer::SetConnection iGUIConnection   [pure virtual]
 

Tell it to use this connection class to communicate with the clients.

virtual void iGUIServer::SetDrawState bool    [pure virtual]
 

Tell the server to start or stop drawing.

virtual void iGUIServer::SetKeyboardState bool    [pure virtual]
 

Tell the server to start or stop accepting keyboard input.

virtual void iGUIServer::SetMouseState bool    [pure virtual]
 

Tell the server to start or stop accepting mouse input.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14