SDL++
C++wrapperfortheSDLlibrary.

sdl::event::JoystickTrackballBase Struct Reference

Base for joystick trackball events that exposes the SDL_JoyBallEvent structure. More...

#include <JoystickEvents.h>

Inheritance diagram for sdl::event::JoystickTrackballBase:
Collaboration diagram for sdl::event::JoystickTrackballBase:

List of all members.

Public Member Functions

 JoystickTrackballBase (const SDL_Event *event)
const SDL_JoyBallEvent & get () const
const SDL_JoyBallEvent & get ()

Detailed Description

Base for joystick trackball events that exposes the SDL_JoyBallEvent structure.

Definition at line 81 of file JoystickEvents.h.


Constructor & Destructor Documentation

sdl::event::JoystickTrackballBase::JoystickTrackballBase ( const SDL_Event *  event) [inline, explicit]

Constructs a JoystickTrackballBase from a SDL_Event structure.

Parameters:
eventThe SDL_Event structure.

Definition at line 87 of file JoystickEvents.h.


Member Function Documentation

const SDL_JoyBallEvent& sdl::event::JoystickTrackballBase::get ( ) const [inline]

Exposes the SDL_JoyBallEvent structure.

Returns:
The SDL_JoyBallEvent structure.

Definition at line 94 of file JoystickEvents.h.

const SDL_JoyBallEvent& sdl::event::JoystickTrackballBase::get ( ) [inline]

Exposes the SDL_JoyBallEvent structure.

Returns:
The SDL_JoyBallEvent structure.

Definition at line 101 of file JoystickEvents.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs