|
MeVisLab Toolbox Reference
|
ManagedActionTrigger is a base class for all triggers of managed interactions. More...
#include <ManagedActionTrigger.h>
Public Types | |
| enum | { NoModifier = 0 , ShiftModifier = 0x10 , ControlModifier = 0x20 , AltModifier = 0x40 , AllModifiersMask = 0x70 } |
| Constants to use where keyboard modifiers must be specified. More... | |
| enum | { Button1Mask = 1 , Button2Mask = 2 , Button3Mask = 4 , AllButtonsMask = 0x07 } |
| Same for mouse buttons: More... | |
Static Public Member Functions | |
Utility functions | |
Splits a string at given character. Do not split at the last character of the string if doNotSplitAtLastChar is set! | |
| static std::list< std::string > | splitString (const std::string &s, char c, bool doNotSplitAtLastChar=false) |
| static std::string | strip (const std::string &s) |
| Strips whitespaces away. | |
| template<typename T > | |
| static std::string | join (const std::list< T > &l, const std::string &s) |
Joins a list of objects having a .toString() method, using a separator string s. | |
ManagedActionTrigger is a base class for all triggers of managed interactions.
It implements some utility methods.
Definition at line 51 of file ManagedActionTrigger.h.
| anonymous enum |
Constants to use where keyboard modifiers must be specified.
Modifiers usually can be combined with the bit-wise-or operator (|).
| Enumerator | |
|---|---|
| NoModifier | No modifier key. |
| ShiftModifier | Shift modifier key. |
| ControlModifier | Control modifier key. |
| AltModifier | Alt modifier key. |
| AllModifiersMask | All modifier keys. |
Definition at line 56 of file ManagedActionTrigger.h.
| anonymous enum |
Same for mouse buttons:
| Enumerator | |
|---|---|
| Button1Mask | Left button. |
| Button2Mask | Middle button. |
| Button3Mask | Right button. |
| AllButtonsMask | All buttons. |
Definition at line 65 of file ManagedActionTrigger.h.
|
static |
Joins a list of objects having a .toString() method, using a separator string s.
Definition at line 85 of file ManagedActionTrigger.h.
|
static |
|
static |
Strips whitespaces away.