Class for Stimulus (STIM) Events (see BTF Specification Chapter 2.3.1).
More...
#include <stimulus.h>
Class for Stimulus (STIM) Events (see BTF Specification Chapter 2.3.1).
A Stimulus (STI) is used to represent interactions among the internal behavior and between the system and the surrounding environment.
◆ Events
Possible types of Stimulus events.
Enumerator |
---|
trigger | The trigger event indicates that the internal behavior or the surrounding environment triggers
the activation of a task/interrupt service routine or the setting of a signal value or OS-Event
|
unknown | Default value.
|
◆ eventToString()
std::string btf::Stimulus::eventToString |
( |
Events |
ev | ) |
|
|
static |
Converts the enum Events into string.
- Parameters
-
[in] | ev | Events enum that will be converted. |
- Returns
- String if Events type is valid, else a fatal error is triggered.
◆ stringToEvent()
Converts a string into the enum Events.
- Parameters
-
[in] | str | String that will be converted. |
- Returns
- Events enum.
The documentation for this class was generated from the following files: