SDL++
C++wrapperfortheSDLlibrary.

sdl::event::ActiveBase Struct Reference

Base for an active event that exposes the SDL_ActiveEvent structure. More...

#include <WindowEvents.h>

Inheritance diagram for sdl::event::ActiveBase:
Collaboration diagram for sdl::event::ActiveBase:

List of all members.

Public Member Functions

 ActiveBase (const SDL_Event *event)
const SDL_ActiveEvent & get () const
const SDL_ActiveEvent & get ()

Detailed Description

Base for an active event that exposes the SDL_ActiveEvent structure.

Definition at line 34 of file WindowEvents.h.


Constructor & Destructor Documentation

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

Constructs an ActiveBase from a SDL_Event structure.

Parameters:
eventThe SDL_Event structure.

Definition at line 40 of file WindowEvents.h.


Member Function Documentation

const SDL_ActiveEvent& sdl::event::ActiveBase::get ( ) const [inline]

Exposes the SDL_ActiveEvent structure.

Returns:
The SDL_ActiveEvent structure.

Definition at line 47 of file WindowEvents.h.

const SDL_ActiveEvent& sdl::event::ActiveBase::get ( ) [inline]

Exposes the SDL_ActiveEvent structure.

Returns:
The SDL_ActiveEvent structure.

Definition at line 54 of file WindowEvents.h.


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