LRT14  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
JoystickPressedEvent Class Reference

Event that fires when a joystick button is pressed. More...

#include <JoystickPressedEvent.h>

Inheritance diagram for JoystickPressedEvent:
Collaboration diagram for JoystickPressedEvent:

Public Member Functions

virtual bool CheckCondition ()
 Checks if the condition required to fire this event is met, regardless of the last cycle.
 
- Public Member Functions inherited from Event
virtual bool Fired ()
 Checks if the event fired this cycle (condition not true last cycle but true this cycle).
 
virtual void Update ()
 Updates the event. Should be called at the end of the cycle.
 
void AddStartListener (Automation *routine)
 Adds an automation routine to be started when this event fires.
 
void AddAbortListener (Automation *routine)
 Adds an automation routine to be aborted when this event fires.
 
void AddContinueListener (Automation *routine)
 Adds an automation routine to be continued when this event fires.
 
std::vector< Automation * > & GetStartListeners ()
 Gets the automation routines that are started by this event.
 
std::vector< Automation * > & GetAbortListeners ()
 Gets the automation routines that are aborted by this event.
 
std::vector< Automation * > & GetContinueListeners ()
 Gets the automation routines that are continued by this event.
 

Detailed Description

Event that fires when a joystick button is pressed.

Member Function Documentation

bool JoystickPressedEvent::CheckCondition ( )
virtual

Checks if the condition required to fire this event is met, regardless of the last cycle.

Returns
if the condition is met

Implements Event.

Here is the call graph for this function:


The documentation for this class was generated from the following files: