ArPiRobot-CoreLib C++
C++ library for ArPiRobot robots
|
#include <arpirobot/core/action/BaseActionTrigger.hpp>
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 |
Generic action trigger. Triggers are registered with the action manager. When some event occurs a trigger will run the designated action.