ArPiRobot-CoreLib C++
C++ library for ArPiRobot robots
Public Member Functions | Protected Member Functions | Friends | List of all members
arpirobot::BaseActionTrigger Class Referenceabstract

#include <arpirobot/core/action/BaseActionTrigger.hpp>

Inheritance diagram for arpirobot::BaseActionTrigger:
arpirobot::ButtonPressedTrigger arpirobot::ButtonReleasedTrigger

Public Member Functions

 BaseActionTrigger (Action &targetAction, bool doRestart=true)
 
 BaseActionTrigger (std::shared_ptr< Action > targetAction, bool doRestart=true)
 

Protected Member Functions

virtual bool shouldRun ()=0
 

Friends

class ActionManager
 

Detailed Description

Generic action trigger. Triggers are registered with the action manager. When some event occurs a trigger will run the designated action.


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