SDL++
C++wrapperfortheSDLlibrary.

sdl::event::JoystickHatBase Struct Reference

Base for joystick hat events that exposes the SDL_JoyHatEvent structure. More...

#include <JoystickEvents.h>

Inheritance diagram for sdl::event::JoystickHatBase:
Collaboration diagram for sdl::event::JoystickHatBase:

List of all members.

Public Member Functions

 JoystickHatBase (const SDL_Event *event)
const SDL_JoyHatEvent & get () const
const SDL_JoyHatEvent & get ()

Detailed Description

Base for joystick hat events that exposes the SDL_JoyHatEvent structure.

Definition at line 124 of file JoystickEvents.h.


Constructor & Destructor Documentation

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

Constructs a JoystickHatBase from a SDL_Event structure.

Parameters:
eventThe SDL_Event structure.

Definition at line 130 of file JoystickEvents.h.


Member Function Documentation

const SDL_JoyHatEvent& sdl::event::JoystickHatBase::get ( ) const [inline]

Exposes the SDL_JoyHatEvent structure.

Returns:
The SDL_JoyHatEvent structure.

Definition at line 137 of file JoystickEvents.h.

const SDL_JoyHatEvent& sdl::event::JoystickHatBase::get ( ) [inline]

Exposes the SDL_JoyHatEvent structure.

Returns:
The SDL_JoyHatEvent structure.

Definition at line 144 of file JoystickEvents.h.


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