Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
BehaviorSwitchControlBase::BehaviorGroup Class ReferenceA simple utility class to allow the BehaviorSwitchControl's to be able to deactivate the current behavior when a new one becomes active. More...
Inheritance diagram for BehaviorSwitchControlBase::BehaviorGroup:
Detailed DescriptionA simple utility class to allow the BehaviorSwitchControl's to be able to deactivate the current behavior when a new one becomes active. Most behaviors are either major actions which you'll only want one of active at a time, or else their background monitors of some sort, that can run in different combinations. Think radio buttons vs. checkboxes. This will help you implement the "radio button" style... just assign all the behaviors to the same group, they will automatically use it to turn the previous behavior off when a new one becomes active. Definition at line 20 of file BehaviorSwitchControl.h.
Constructor & Destructor Documentation
contructor Definition at line 22 of file BehaviorSwitchControl.h.
destructor, will stop the current behavior if it was a one-shot Definition at line 23 of file BehaviorSwitchControl.h.
shouldn't be called Member Function Documentation
shouldn't be called Member Data Documentationpointer to current behavior Definition at line 24 of file BehaviorSwitchControl.h. Referenced by BehaviorSwitchControlBase::notifyGroupMembers(), BehaviorSwitchControlBase::setGroup(), BehaviorSwitchControlBase::startmine(), BehaviorSwitchControlBase::stopother(), and ~BehaviorGroup(). set of members of the group Definition at line 25 of file BehaviorSwitchControl.h. Referenced by BehaviorSwitchControlBase::notifyGroupMembers(), and BehaviorSwitchControlBase::setGroup(). The documentation for this class was generated from the following file: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:05 2016 by Doxygen 1.6.3 |