boolean function ( State arg0 ) { switch ( arg0 ) { case main_region_Start : return stateVector [ 0 ] == State . main_region_Start ; case main_region_A : return stateVector [ 0 ] == State . main_region_A ; case main_region_B : return stateVector [ 0 ] == State . main_region_B ; default : return false ; } }
returns true if the given state is currently active otherwise false . concode_field_sep long number concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep boolean reset concode_elem_sep int nextStateIndex concode_elem_sep State[] stateVector concode_field_sep void entryAction_main_region_Start concode_elem_sep SCInterface getSCInterface concode_elem_sep void effect_main_region_Start_tr0 concode_elem_sep void runCycle concode_elem_sep void exitSequence_main_region concode_elem_sep long getNumber concode_elem_sep long getNumber concode_elem_sep boolean check_main_region__choice_0_tr1 concode_elem_sep boolean check_main_region__choice_0_tr0 concode_elem_sep void enter concode_elem_sep void react_main_region_Start concode_elem_sep void react_main_region_A concode_elem_sep void react_main_region_B concode_elem_sep void enterSequence_main_region_Start_default concode_elem_sep void init concode_elem_sep void enterSequence_main_region_B_default concode_elem_sep void exitAction concode_elem_sep void setNumber concode_elem_sep void setNumber concode_elem_sep void enterSequence_main_region_A_default concode_elem_sep void react_main_region__entry_Default concode_elem_sep void exit concode_elem_sep void effect_main_region__choice_0_tr1 concode_elem_sep void effect_main_region__choice_0_tr0 concode_elem_sep void raiseReset concode_elem_sep void raiseReset concode_elem_sep boolean check_main_region_Start_tr0 concode_elem_sep void exitSequence_main_region_B concode_elem_sep void exitSequence_main_region_A concode_elem_sep void clearEvents concode_elem_sep void clearEvents concode_elem_sep void enterSequence_main_region_default concode_elem_sep void clearOutEvents concode_elem_sep void entryAction concode_elem_sep void exitSequence_main_region_Start concode_elem_sep void react_main_region__choice_0