GlfwInputServer Class Reference
[GLFW Module]

#include <glfwinputserver.h>

Inheritance diagram for GlfwInputServer:

InputServer RootServer< InputServer > Root Server< InputServer > Object TreeNode< Root > Referenced Counted Serialized List< Root > ListNode< Root >

List of all members.


Detailed Description

GLFW input server.

Public Member Functions

 GlfwInputServer (const char *id)
virtual ~GlfwInputServer ()
virtual void RegisterCallbacks ()
virtual bool Trigger ()
virtual void WaitForEvent ()
virtual void SetMousePosition (ushort_t x, ushort_t y)

Static Private Member Functions

static void GLFWCALL CallbackKey (int key, int action)
static void GLFWCALL CallbackChar (int character, int action)
static void GLFWCALL CallbackButton (int button, int action)
static void GLFWCALL CallbackPosition (int x, int y)
static void GLFWCALL CallbackWheel (int pos)
static KeyCode translateKey (int glwf_key)
static KeyCode translateButton (int glwf_button)
static KeyState translateAction (int glwf_action)

Private Attributes

bool has_callbacks

Constructor & Destructor Documentation

GlfwInputServer::GlfwInputServer ( const char *  id  ) 

Constructor.

GlfwInputServer::~GlfwInputServer (  )  [virtual]

Destructor.


Member Function Documentation

void GlfwInputServer::RegisterCallbacks (  )  [virtual]

Reimplemented from InputServer.

bool GlfwInputServer::Trigger (  )  [virtual]

Reimplemented from InputServer.

void GlfwInputServer::WaitForEvent (  )  [virtual]

Reimplemented from InputServer.

void GlfwInputServer::SetMousePosition ( ushort_t  x,
ushort_t  y 
) [virtual]

Reimplemented from InputServer.

void GLFWCALL GlfwInputServer::CallbackKey ( int  key,
int  action 
) [static, private]

void GLFWCALL GlfwInputServer::CallbackChar ( int  character,
int  action 
) [static, private]

void GLFWCALL GlfwInputServer::CallbackButton ( int  button,
int  action 
) [static, private]

void GLFWCALL GlfwInputServer::CallbackPosition ( int  x,
int  y 
) [static, private]

void GLFWCALL GlfwInputServer::CallbackWheel ( int  pos  )  [static, private]

KeyCode GlfwInputServer::translateKey ( int  glwf_key  )  [inline, static, private]

KeyCode GlfwInputServer::translateButton ( int  glwf_button  )  [inline, static, private]

KeyState GlfwInputServer::translateAction ( int  glwf_action  )  [inline, static, private]


Member Data Documentation

bool GlfwInputServer::has_callbacks [private]


The documentation for this class was generated from the following files:
Generated on Sat Oct 20 14:47:32 2007 for Dark Oberon by  doxygen 1.5.3