#include <EvtProgram.h>
◆ add()
◆ clear()
| void EvtProgram::clear |
( |
| ) |
|
◆ dump()
| void EvtProgram::dump |
( |
int |
eventId | ) |
const |
◆ dumpAll()
| void EvtProgram::dumpAll |
( |
| ) |
const |
◆ enumerateTriggers()
- Parameters
-
| triggerType | Event type to look for. |
- Returns
- List of all event positions that have the given event type.
◆ function()
| const std::vector< EvtInstruction > & EvtProgram::function |
( |
int |
eventId | ) |
const |
- Parameters
-
- Returns
- Reference to a list of events for the provided
eventId.
- Exceptions
-
| Exception | If there are no events for the provided eventId. |
◆ hasEvent()
| bool EvtProgram::hasEvent |
( |
int |
eventId | ) |
const |
|
inline |
◆ hasHint()
| bool EvtProgram::hasHint |
( |
int |
eventId | ) |
const |
- Parameters
-
| eventId | Event id to check. |
- Returns
- Whether a script exists for the provided
eventId that shows a hint.
◆ hint()
| std::string EvtProgram::hint |
( |
int |
eventId | ) |
const |
- Parameters
-
| eventId | Event id to check. |
- Returns
- Hint to show, if any. Note that unlike
events(), this function returns an empty string for non-existent events.
◆ instruction()
| const EvtInstruction & EvtProgram::instruction |
( |
int |
eventId, |
|
|
int |
step |
|
) |
| const |
- Parameters
-
| eventId | Event id. |
| step | Step in the script to get event for. |
- Returns
- Reference to an instruction for the given
eventId and step.
- Exceptions
-
| Exception | If the instruction doesn't exist for the provided eventId and step. |
◆ load()
◆ _eventsById
| std::unordered_map<int, std::vector<EvtInstruction> > EvtProgram::_eventsById |
|
private |
The documentation for this class was generated from the following files: