SDL++
C++wrapperfortheSDLlibrary.

sdl::event::JoystickAxisBase Struct Reference

Base for joystick axis events that exposes the SDL_JoyAxisEvent structure. More...

#include <JoystickEvents.h>

Inheritance diagram for sdl::event::JoystickAxisBase:
Collaboration diagram for sdl::event::JoystickAxisBase:

List of all members.

Public Member Functions

 JoystickAxisBase (const SDL_Event *event)
const SDL_JoyAxisEvent & get () const
const SDL_JoyAxisEvent & get ()

Detailed Description

Base for joystick axis events that exposes the SDL_JoyAxisEvent structure.

Definition at line 38 of file JoystickEvents.h.


Constructor & Destructor Documentation

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

Constructs a JoystickAxisBase from a SDL_Event structure.

Parameters:
eventThe SDL_Event structure.

Definition at line 44 of file JoystickEvents.h.


Member Function Documentation

const SDL_JoyAxisEvent& sdl::event::JoystickAxisBase::get ( ) const [inline]

Exposes the SDL_JoyAxisEvent structure.

Returns:
The SDL_JoyAxisEvent structure.

Definition at line 51 of file JoystickEvents.h.

const SDL_JoyAxisEvent& sdl::event::JoystickAxisBase::get ( ) [inline]

Exposes the SDL_JoyAxisEvent structure.

Returns:
The SDL_JoyAxisEvent structure.

Definition at line 58 of file JoystickEvents.h.


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