Public Member Functions

test_utils::event_node_keyboard Class Reference

modifies SDL_GetKeyState table to have correct state. More...

#include <fake_event_source.hpp>

Inheritance diagram for test_utils::event_node_keyboard:
Inheritance graph
[legend]
Collaboration diagram for test_utils::event_node_keyboard:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 event_node_keyboard (size_t time, SDL_Event &event)
virtual void fire_event ()
 Used to fire sdl event stored in this object.

Detailed Description

modifies SDL_GetKeyState table to have correct state.

Definition at line 77 of file fake_event_source.hpp.


Constructor & Destructor Documentation

test_utils::event_node_keyboard::event_node_keyboard ( size_t  time,
SDL_Event &  event 
)

Definition at line 59 of file fake_event_source.cpp.


Member Function Documentation

void test_utils::event_node_keyboard::fire_event (  )  [virtual]

Used to fire sdl event stored in this object.

Child class may extend or override functionality

Reimplemented from test_utils::event_node.

Definition at line 61 of file fake_event_source.cpp.

References test_utils::event_node::event_.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:26:07 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs