BehaviorSwitchControlBase::BehaviorGroup Class Reference#include <BehaviorSwitchControl.h>
Inheritance diagram for BehaviorSwitchControlBase::BehaviorGroup:
[legend]List of all members.
Detailed Description
A 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.
Pass NULL instead of one of these to get checkbox-style.
Definition at line 21 of file BehaviorSwitchControl.h.
Constructor & Destructor Documentation
BehaviorSwitchControlBase::BehaviorGroup::BehaviorGroup |
( |
|
) |
[inline] |
|
BehaviorSwitchControlBase::BehaviorGroup::~BehaviorGroup |
( |
|
) |
[inline] |
|
BehaviorSwitchControlBase::BehaviorGroup::BehaviorGroup |
( |
const BehaviorGroup & |
|
) |
[private] |
|
Member Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file:
|