Sirikata
|
#include <InputResponse.hpp>
Public Types | |
typedef std::tr1::function < void(void)> | ResponseCallback |
Public Member Functions | |
SimpleInputResponse (ResponseCallback cb) | |
virtual InputEventDescriptorList | getInputEvents (const InputBindingEvent &descriptor) const |
Get a list of InputEventDescriptors which specify the events that this response will handle, given a higher level description of the input to bind to this response. | |
Protected Member Functions | |
virtual void | defaultAction () |
Private Attributes | |
ResponseCallback | mCallback |
typedef std::tr1::function<void(void)> Sirikata::SimpleCamera::SimpleInputResponse::ResponseCallback |
Sirikata::SimpleCamera::SimpleInputResponse::SimpleInputResponse | ( | ResponseCallback | cb | ) |
void Sirikata::SimpleCamera::SimpleInputResponse::defaultAction | ( | ) | [protected, virtual] |
Reimplemented from Sirikata::SimpleCamera::InputResponse.
References mCallback.
InputResponse::InputEventDescriptorList Sirikata::SimpleCamera::SimpleInputResponse::getInputEvents | ( | const InputBindingEvent & | descriptor | ) | const [virtual] |
Get a list of InputEventDescriptors which specify the events that this response will handle, given a higher level description of the input to bind to this response.
Implements Sirikata::SimpleCamera::InputResponse.
References Sirikata::SimpleCamera::InputBindingEvent::isKey(), Sirikata::SimpleCamera::InputBindingEvent::isWeb(), Sirikata::SimpleCamera::InputBindingEvent::Key(), Sirikata::SimpleCamera::InputBindingEvent::keyButton(), Sirikata::SimpleCamera::InputBindingEvent::keyModifiers(), Sirikata::SimpleCamera::InputBindingEvent::Web(), Sirikata::SimpleCamera::InputBindingEvent::webName(), and Sirikata::SimpleCamera::InputBindingEvent::webViewName().
Referenced by defaultAction().