I am using array of function pointer as below to avoid the switch condition in code.
void (*pfGetVal[3])() = { E_func1, E_func2, E_func3 };