SDL++
C++wrapperfortheSDLlibrary.

sdl::event::JoystickButtonBase Struct Reference

Base for joystick button events that exposes the SDL_JoyButtonEvent structure. More...

#include <JoystickEvents.h>

Inheritance diagram for sdl::event::JoystickButtonBase:
Collaboration diagram for sdl::event::JoystickButtonBase:

List of all members.

Public Member Functions

 JoystickButtonBase (const SDL_Event *event)
const SDL_JoyButtonEvent & get () const
const SDL_JoyButtonEvent & get ()

Detailed Description

Base for joystick button events that exposes the SDL_JoyButtonEvent structure.

Definition at line 167 of file JoystickEvents.h.


Constructor & Destructor Documentation

sdl::event::JoystickButtonBase::JoystickButtonBase ( const SDL_Event *  event) [inline]

Constructs a JoystickButtonBase from a SDL_Event structure.

Parameters:
eventThe SDL_Event structure.

Definition at line 173 of file JoystickEvents.h.


Member Function Documentation

const SDL_JoyButtonEvent& sdl::event::JoystickButtonBase::get ( ) const [inline]

Exposes the SDL_JoyButtonEvent structure.

Returns:
The SDL_JoyButtonEvent structure.

Definition at line 180 of file JoystickEvents.h.

const SDL_JoyButtonEvent& sdl::event::JoystickButtonBase::get ( ) [inline]

Exposes the SDL_JoyButtonEvent structure.

Returns:
The SDL_JoyButtonEvent structure.

Definition at line 187 of file JoystickEvents.h.


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