Simulation Modeling Tool Kit
List of all members
smtk::view::BadgeActionToggle Class Reference

The basic badge action: the user clicked on a badge. More...

#include <Badge.h>

Inheritance diagram for smtk::view::BadgeActionToggle:
Collaboration diagram for smtk::view::BadgeActionToggle:

Additional Inherited Members

- Public Types inherited from smtk::view::BadgeAction
using PhraseVisitor = std::function< bool(DescriptivePhrase *)>
 When visiting multiple phrases to which a badge action should apply, this function is supplied by the badge. More...
- Public Member Functions inherited from smtk::view::BadgeAction
virtual void visitRelatedPhrases (PhraseVisitor visitor) const
 Some actions may apply to multiple phrases (e.g., those selected when a key is pressed). More...

Detailed Description

The basic badge action: the user clicked on a badge.

No additional information is provided. Some frameworks may override visitRelatedPhrases in a subclass to indicate that multiple phrases were selected when the user clicked on the primary phrase passed to Badge::action().

The documentation for this class was generated from the following file: