A set of actions.  
 More...
#include <gf/Action.h>
◆ addAction()
      
        
          | void gf::ActionContainer::addAction | ( | Action & | action | ) |  | 
      
 
Add an action. 
- Parameters
- 
  
    | action | The action to add to the set. |  
 
 
 
◆ getAction() [1/2]
      
        
          | Action & gf::ActionContainer::getAction | ( | const std::string & | name | ) |  | 
      
 
Get an action thanks to its name. 
- Parameters
- 
  
    | name | The name of the action |  
 
- Returns
- The action with that name 
- Exceptions
- 
  
    | std::runtime_error | If the action is not found |  
 
 
 
◆ getAction() [2/2]
      
        
          | const Action & gf::ActionContainer::getAction | ( | const std::string & | name | ) | const | 
      
 
Get an action thanks to its name. 
- Parameters
- 
  
    | name | The name of the action |  
 
- Returns
- The action with that name 
- Exceptions
- 
  
    | std::runtime_error | If the action is not found |  
 
 
 
◆ hasAction()
      
        
          | bool gf::ActionContainer::hasAction | ( | const std::string & | name | ) | const | 
      
 
Check if an action exists. 
- Parameters
- 
  
    | name | The name of the action |  
 
- Returns
- True if there is an action with that name 
 
 
◆ processEvent()
      
        
          | void gf::ActionContainer::processEvent | ( | const Event & | event | ) |  | 
      
 
Update all the actions. 
- Parameters
- 
  
    | event | the event to update the actions. |  
 
- See also
- Action;:processEvent() 
 
 
◆ reset()
      
        
          | void gf::ActionContainer::reset | ( |  | ) |  |