| 938 | |
| 939 | |
| 940 | bool syncProcessor::createModeBase() |
| 941 | { |
| 942 | bool done=false; |
| 943 | if(currentModePtr) delete currentModePtr; |
| 944 | currentModePtr=NULL; |
| 945 | switch (currentMode) |
| 946 | { |
| 947 | case M1: |
| 948 | case M2: |
| 949 | currentModePtr=new modeGBR(currentMode,RXSTRIPE,false,false); |
| 950 | break; |
| 951 | case S1: |
| 952 | case S2: |
| 953 | case SDX: |
| 954 | currentModePtr=new modeGBR2(currentMode,RXSTRIPE,false,false); |
| 955 | break; |
| 956 | case R36: |
| 957 | currentModePtr=new modeRobot1(currentMode,RXSTRIPE,false,false); |
| 958 | break; |
| 959 | case R24: |
| 960 | case R72: |
| 961 | case MR73: |
| 962 | case MR90: |
| 963 | case MR115: |
| 964 | case MR140: |
| 965 | case MR175: |
| 966 | case ML180: |
| 967 | case ML240: |
| 968 | case ML280: |
| 969 | case ML320: |
| 970 | currentModePtr=new modeRobot2(currentMode,RXSTRIPE,false,false); |
| 971 | break; |
| 972 | case SC2_60: |
| 973 | case SC2_120: |
| 974 | case SC2_180: |
| 975 | case P3: |
| 976 | case P5: |
| 977 | case P7: |
| 978 | case MC110N: |
| 979 | case MC140N: |
| 980 | case MC180N: |
| 981 | currentModePtr=new modeRGB(currentMode,RXSTRIPE,false,false); |
| 982 | break; |
| 983 | case FAX480: |
| 984 | case BW8: |
| 985 | case BW12: |
| 986 | currentModePtr=new modeBW(currentMode,RXSTRIPE,false,false); |
| 987 | break; |
| 988 | case AVT24: |
| 989 | case AVT90: |
| 990 | case AVT94: |
| 991 | currentModePtr=new modeAVT(currentMode,RXSTRIPE,false,false); |
| 992 | break; |
| 993 | case PD50: |
| 994 | case PD90: |
| 995 | case PD120: |
| 996 | case PD160: |
| 997 | case PD180: |
nothing calls this directly
no test coverage detected