#include <Behaviours.hpp>
[Behaviour description]
- Parameters
-
◆ Behaviour()
Behaviour::Behaviour |
( |
String |
name | ) |
|
◆ ~Behaviour()
Behaviour::~Behaviour |
( |
| ) |
|
◆ args()
virtual char* Behaviour::args |
( |
| ) |
|
|
virtual |
◆ is_background()
virtual boolean Behaviour::is_background |
( |
| ) |
|
|
virtual |
What's the name of this behaviour
◆ is_interruptable()
virtual boolean Behaviour::is_interruptable |
( |
| ) |
|
|
virtual |
Can this behaviour be interruped
◆ is_priority()
virtual boolean Behaviour::is_priority |
( |
| ) |
|
|
virtual |
Should this behaviour override others
◆ is_running()
virtual boolean Behaviour::is_running |
( |
| ) |
|
|
virtual |
◆ is_temp()
virtual boolean Behaviour::is_temp |
( |
| ) |
|
|
virtual |
Can this behaviour be run quickly without stopping what's going on (e.g. comms, debug)
◆ name()
virtual String Behaviour::name |
( |
| ) |
|
|
virtual |
What's the name of this behaviour
◆ start()
virtual String Behaviour::start |
( |
String |
args | ) |
|
|
virtual |
Start the behaviour, with arguments (don't know why this can't be virtual?)
Reimplemented in PingServer, ButtonTick, ButtonHeld, ServoRotateReturn, TestBehaviour, Link, BreathingLEDs, ServoWiggle, PotentiometerUpdated, RotaryEncoderUpdated, SendCapabilities, ServoGoto, ButtonPressed, and NumLEDs.
◆ stop()
virtual void Behaviour::stop |
( |
| ) |
|
|
virtual |
Start the behaviour, with arguments (don't know why this can't be virtual?)
◆ update()
virtual void Behaviour::update |
( |
| ) |
|
|
virtual |
◆ _background
boolean Behaviour::_background = false |
|
protected |
◆ _interruptable
boolean Behaviour::_interruptable = true |
|
protected |
◆ _name
String Behaviour::_name = "name" |
|
protected |
◆ _priority
boolean Behaviour::_priority = false |
|
protected |
◆ _running
boolean Behaviour::_running = false |
|
protected |
◆ _temp
boolean Behaviour::_temp = false |
|
protected |
The documentation for this class was generated from the following file: