template <typename T>

class StateNameLookup

Defined at line 37 of file ../../sdk/lib/power/state_recorder/cpp/enum_state_recorder_internal.h

Helper class for mapping a state's enum value to its corresponding StateName.

Public Methods

void StateNameLookup<T> (std::map<T, std::string> string_names)

Defined at line 39 of file ../../sdk/lib/power/state_recorder/cpp/enum_state_recorder_internal.h

const StateName * GetStateName (T state_enum)

Defined at line 45 of file ../../sdk/lib/power/state_recorder/cpp/enum_state_recorder_internal.h