40 #ifndef _uiactionhandler_h
41 #define _uiactionhandler_h
43 #include "Input/metacodekey.h"
110 void DestroyAction(
Action* ToBeDestroyed);
112 void DestroyAllActions();
116 ActionIterator BeginAction();
119 ActionIterator EndAction();
122 ConstActionIterator BeginAction()
const;
125 ConstActionIterator EndAction()
const;
148 void Unbind(
Action* ToUnbind);
153 void RemoveAllBindings();
157 BindingIterator BeginBinding();
160 BindingIterator EndBinding();
163 ConstBindingIterator BeginBinding()
const;
166 ConstBindingIterator EndBinding()
const;
174 void _NotifyActionActivated(
Action* BeingActivated);
182 void _ProcessAllActions();
ActionContainer::const_iterator ConstActionIterator
Const Iterator type for Action instances that are stored in this class.
std::pair< ConstBindingIterator, ConstBindingIterator > ConstBindingRange
A convenience type for a const iterator range of bindings.
ActivatedContainer ActivatedActions
Container storing all the actions that are in-progress.
BindingContainer::const_iterator ConstBindingIterator
Const Iterator type for input-action bindings stored in this class.
std::multimap< Input::MetaCodeKey, Action * > BindingContainer
Container for bindings that connect to input codes to actions.
std::pair< Input::MetaCodeKey, Action * > BindingPair
A convenience type for the actual input-action binding.
ActionContainer Actions
Container storing all registered actions.
This class is the core class responsible for the management of actions.
std::map< String, Action * > ActionContainer
Container type for Action instances that are stored by this class.
This class represents an action to be taken. Can have multiple inputs bound to it.
std::pair< BindingIterator, BindingIterator > BindingRange
A convenience type for an iterator range of bindings.
BindingContainer Bindings
Container storing all the bindings that connect inputs to actions.
std::vector< Action * > ActivatedContainer
Container type for in-progress Action instances that are stored by this class.
ActionContainer::iterator ActionIterator
Iterator type for Action instances that are stored in this class.
ActivatedContainer::const_iterator ConstActivatedIterator
Const Iterator type for in-progress Action instances that are stored in this class.
The bulk of the engine components go in this namspace.
BindingContainer::iterator BindingIterator
Iterator type for input-action bindings stored in this class.
std::string String
A datatype used to a series of characters.
ActivatedContainer::iterator ActivatedIterator
Iterator type for in-progress Action instances that are stored in this class.