carb::events::typeFromString

Defined in carb/events/IEvents.h

inline EventType carb::events::typeFromString(const char *str)

Run-time conversion of string to carb::events::EventType.

Parameters

str – The string to convert.

Returns

The EventType corresponding to the given string.