|
Scan-N-Plan
7.0.0
|
Condition node that monitors the state of a Qt button. More...
A pointer to the monitored button (QAbstractButton*) is provided via the blackboard using the key defined in the input port. When the button is clicked, the node returns failure the next time it is checked.

Public Member Functions | |
| ButtonMonitorNode (const std::string &name, const BT::NodeConfig &config) | |
Static Public Member Functions | |
| static BT::PortsList | providedPorts () |
Static Public Attributes | |
| static const std::string | BUTTON_PORT_KEY = "button" |
Protected Member Functions | |
| BT::NodeStatus | tick () override |
Protected Attributes | |
| std::atomic_bool | ok_ |