visman::components::visman_core::Event
Overview
interface Event extends NamedEntity
An event defines a transition from the current preset to another preset.
It specifies the target preset and the transition parameters used
when the event is triggered.
Operation Index
- getNextPreset
-
Returns the preset that should become active when this event is triggered.
- setNextPreset
-
Sets the target preset that should be activated when this event is triggered.
- getTransition
-
Returns the transition configuration used when switching to the target preset.
- setTransition
-
Sets the transition configuration used when switching to the target preset.
Operations
Preset* getNextPreset()
Returns the preset that should become active when this event is triggered.
Return Value
The target Preset of this event.
void setNextPreset(Preset* next)
Sets the target preset that should be activated when this event is triggered.
Parameters
- next
-
The preset to activate.
Returns the transition configuration used when switching to the target preset.
Return Value
The Transition parameters of this event.
void setTransition(Transition t)
Sets the transition configuration used when switching to the target preset.
Parameters
- t
-
The Transition parameters to apply.